php-src/sapi/tests/test001.phpt
Shane Caraveo b671380b6b many new enhancements to run-tests that allow for testing cgi and other
sapi modules via http.  see README.TESTING2 for more details
several sapi tests added
2003-03-25 07:45:18 +00:00

17 lines
285 B
PHP

--TEST--
IIS style CGI missing SCRIPT_FILENAME
--DESCRIPTION--
This would be similar to what IIS produces for a simple query.
--ENV--
return <<<END
PATH_TRANSLATED=$filename
PATH_INFO=$scriptname
SCRIPT_NAME=$scriptname
END;
--CGI--
--FILE--
<?php
echo "HELLO";
?>
--EXPECT--
HELLO