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