xref: /PHP-5.3/sapi/cli/tests/009.phpt (revision af49e58f)
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--
16Either execute direct code, process stdin or use a file.
17NULL
18Either execute direct code, process stdin or use a file.
19NULL
20Done
21