xref: /PHP-5.4/sapi/cli/tests/009.phpt (revision 829d08e5)
1--TEST--
2using invalid combinations of cmdline options
3--SKIPIF--
4<?php include "skipif.inc"; ?>
5--FILE--
6<?php
7
8$php = getenv('TEST_PHP_EXECUTABLE');
9
10var_dump(`$php -n -a -r "echo hello;"`);
11var_dump(`$php -n -r "echo hello;" -a`);
12
13echo "Done\n";
14?>
15--EXPECTF--
16string(57) "Either execute direct code, process stdin or use a file.
17"
18string(57) "Either execute direct code, process stdin or use a file.
19"
20Done
21