xref: /PHP-7.0/sapi/cgi/tests/005-win32.phpt (revision 59541795)
1--TEST--
2using invalid combinations of cmdline options
3--SKIPIF--
4<?php
5
6if (substr(PHP_OS, 0, 3) != 'WIN') {
7	die ("skip Windows only");
8}
9
10include "skipif.inc";
11?>
12--FILE--
13<?php
14
15include "include.inc";
16
17$php = get_cgi_path();
18reset_env_vars();
19
20var_dump(`$php -n -a -f "wrong"`);
21var_dump(`$php -n -f "wrong" -a`);
22
23echo "Done\n";
24?>
25--EXPECTF--
26string(51) "Interactive mode enabled
27
28No input file specified.
29"
30string(51) "Interactive mode enabled
31
32No input file specified.
33"
34Done
35