xref: /PHP-5.6/sapi/cgi/tests/005.phpt (revision 13dff748)
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--EXPECTF--
19string(51) "No input file specified.
20Interactive mode enabled
21
22"
23string(51) "No input file specified.
24Interactive mode enabled
25
26"
27Done
28