xref: /PHP-8.4/sapi/cgi/tests/007.phpt (revision a555cc0b)
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--EXPECT--
17string(25) "No input file specified.
18"
19string(49) "No syntax errors detected in Standard input code
20"
21