xref: /PHP-7.4/sapi/cgi/tests/007.phpt (revision 782352c5)
1--TEST--
2invalid arguments and error messages
3--SKIPIF--
4<?php include "skipif.inc"; ?>
5--FILE--
6<?php
7include "include.inc";
8
9$php = get_cgi_path();
10reset_env_vars();
11
12var_dump(`"$php" -n -f some.php -f some.php`);
13var_dump(`"$php" -n -s -w -l`);
14
15?>
16===DONE===
17--EXPECT--
18string(25) "No input file specified.
19"
20string(49) "No syntax errors detected in Standard input code
21"
22===DONE===
23