009.phpt 413 B

1234567891011121314151617181920
  1. --TEST--
  2. using invalid combinations of cmdline options
  3. --SKIPIF--
  4. <?php include "skipif.inc"; ?>
  5. --FILE--
  6. <?php
  7. $php = getenv('TEST_PHP_EXECUTABLE');
  8. var_dump(`$php -n -a -r "echo hello;"`);
  9. var_dump(`$php -n -r "echo hello;" -a`);
  10. echo "Done\n";
  11. ?>
  12. --EXPECTF--
  13. string(57) "Either execute direct code, process stdin or use a file.
  14. "
  15. string(57) "Either execute direct code, process stdin or use a file.
  16. "
  17. Done