Annotation of embedaddon/php/sapi/cli/tests/009.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: using invalid combinations of cmdline options
! 3: --SKIPIF--
! 4: <?php include "skipif.inc"; ?>
! 5: --FILE--
! 6: <?php
! 7:
! 8: $php = getenv('TEST_PHP_EXECUTABLE');
! 9:
! 10: var_dump(`$php -n -a -r "echo hello;"`);
! 11: var_dump(`$php -n -r "echo hello;" -a`);
! 12:
! 13: echo "Done\n";
! 14: ?>
! 15: --EXPECTF--
! 16: Either execute direct code, process stdin or use a file.
! 17: NULL
! 18: Either execute direct code, process stdin or use a file.
! 19: NULL
! 20: Done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>