--TEST-- strip comments and whitespace with -w --SKIPIF-- --FILE-- '; file_put_contents($filename, $code); var_dump(shell_exec(<<" | $php -n -w SHELL)); @unlink($filename); echo "Done\n"; ?> --EXPECT-- string(81) " " Could not open input file: wrong NULL string(43) " " Done