--TEST-- strip comments and whitespace with -w --SKIPIF-- --FILE-- '; file_put_contents($filename, $code); var_dump(`$php -n -w "$filename"`); var_dump(`$php -n -w "wrong"`); var_dump(`echo "" | $php -n -w`); @unlink($filename); echo "Done\n"; ?> --EXPECTF-- string(%d) "X-Powered-By: PHP/%s Content-type: text/html%r; charset=.*|%r " string(%d) "Status: 404 Not Found X-Powered-By: PHP/%s Content-type: text/html%r; charset=.*|%r No input file specified. " string(%d) "X-Powered-By: PHP/%s Content-type: text/html%r; charset=.*|%r " Done