xref: /PHP-8.0/sapi/cli/tests/009.phpt (revision 782352c5)
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--EXPECT--
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