PasteSite.Com

Recent Pastes

Sign Up!

PasteSite is open to the public, but with limited features. Register to be able to modify access rights, track your pastes and more...

Change the theme

If you prefer reading light text on a dark background to dark text on a light background, then you might want to try the dark theme.

This paste is a reply. View the Previous Paste?
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php
global $sandbox_output;
$sandbox_output = "";
$php = new Runkit_Sandbox();
$php['output_handler'] = 'capture_output';
$php->runkit_lint_file($file . "$ex[4].funct.php");
// error is output at about this point
unset($php);
if($sandbox_output === ""){
    return "PRIVMSG $to :File Syntax OK";
}
else return "PRIVMSG $to :File Syntax Faulty - $sandbox_output";
?>

Reply to This Paste

(leave blank to make this paste permanent)
(if set as private)