005.phpt 416 B

123456789101112131415161718192021222324252627
  1. --TEST--
  2. using invalid combinations of cmdline options
  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 -a -f 'wrong'`);
  11. var_dump(`$php -n -f 'wrong' -a`);
  12. echo "Done\n";
  13. ?>
  14. --EXPECTF--
  15. string(51) "No input file specified.
  16. Interactive mode enabled
  17. "
  18. string(51) "No input file specified.
  19. Interactive mode enabled
  20. "
  21. Done