--TEST-- execute a file with -f --SKIPIF-- --FILE-- '; file_put_contents($filename, $code); var_dump(`$php -n -f "$filename" 2>/dev/null`); var_dump(`$php -n -f "wrong"`); @unlink($filename); echo "Done\n"; ?> --EXPECTF-- string(%d) "
Fatal error: Cannot access private property test::$pri in %s004.test.php on line 8
" string(25) "No input file specified. " Done