blob: 6b41f7a99f9aa2176c5b22c6546b210c83a80e09 (
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 not for Windows");
}
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) "No input file specified.
Interactive mode enabled
"
string(51) "No input file specified.
Interactive mode enabled
"
Done
|