--TEST-- syntax highlighting --SKIPIF-- --FILE-- '; file_put_contents($filename, $code); var_dump(`"$php" -n -s "$filename"`); var_dump(`"$php" -n -s "unknown"`); @unlink($filename); echo "Done\n"; ?> --EXPECTF-- string(%d) "X-Powered-By: PHP/%s Content-type: text/html%r; charset=.*|%r

<?php
$test = "var"; //var
/* test class */
class test {
    private $var = array();

    public static function foo(Test $arg) {
        echo "hello";
        var_dump($this);
    }
}

$o = new test;
?>
" string(%d) "Status: 404 Not Found X-Powered-By: PHP/%s Content-type: text/html%r; charset=.*|%r No input file specified. " Done