blob: 855dc57de36408a2a2c5fd1aa776154fd7861c04 (
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
|