summaryrefslogtreecommitdiff
path: root/sapi/cgi/tests/005-win32.phpt
blob: cafec91d3dbbdc278d887ea1ae91dc0e332ccd60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
--TEST--
using invalid combinations of cmdline options
--SKIPIF--
<?php

if (substr(PHP_OS, 0, 3) != 'WIN') {
    die ("skip Windows only");
}

include "skipif.inc";
?>
--FILE--
<?php

include "include.inc";

$php = get_cgi_path();
reset_env_vars();

var_dump(`$php -n -a -f "wrong"`);
var_dump(`$php -n -f "wrong" -a`);

echo "Done\n";
?>
--EXPECT--
string(51) "Interactive mode enabled

No input file specified.
"
string(51) "Interactive mode enabled

No input file specified.
"
Done