007.phpt 371 B

12345678910111213141516171819202122
  1. --TEST--
  2. invalid arguments and error messages
  3. --SKIPIF--
  4. <?php include "skipif.inc"; ?>
  5. --FILE--
  6. <?php
  7. include "include.inc";
  8. $php = get_cgi_path();
  9. reset_env_vars();
  10. var_dump(`"$php" -n -f some.php -f some.php`);
  11. var_dump(`"$php" -n -s -w -l`);
  12. ?>
  13. ===DONE===
  14. --EXPECTF--
  15. string(25) "No input file specified.
  16. "
  17. string(31) "No syntax errors detected in -
  18. "
  19. ===DONE===