1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 16:52:18 +01:00
Files
archived-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