--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: Uncaught exception 'EngineException' with message 'Cannot access private property test::$pri' in %s004.test.php:8 Stack trace: #0 {main} thrown in %s004.test.php on line 8
" string(25) "No input file specified. " Done