xref: /PHP-8.2/sapi/cgi/tests/005.phpt (revision bd3cd6a4)
1--TEST--
2using invalid combinations of cmdline options
3--FILE--
4<?php
5
6include "include.inc";
7
8$php = get_cgi_path();
9reset_env_vars();
10
11var_dump(`$php -n -a -f "wrong"`);
12var_dump(`$php -n -f "wrong" -a`);
13
14echo "Done\n";
15?>
16--EXPECT--
17string(51) "Interactive mode enabled
18
19No input file specified.
20"
21string(51) "Interactive mode enabled
22
23No input file specified.
24"
25Done
26