xref: /PHP-5.3/sapi/cgi/tests/007.phpt (revision 13dff748)
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--EXPECTF--
18string(25) "No input file specified.
19"
20string(31) "No syntax errors detected in -
21"
22===DONE===
23