mirror of
https://github.com/php/php-src.git
synced 2024-11-25 19:05:31 +08:00
af316021e8
The full patch is available as: http://php.net/~helly/php-re2c-5.3-20080316.diff.txt This is against php-re2c repository version 98 An older patch against version 97 is available under: http://php.net/~helly/php-re2c-97-20080316.diff.txt
21 lines
379 B
PHP
21 lines
379 B
PHP
--TEST--
|
|
IIS style CGI missing SCRIPT_FILENAME, has PATH_INFO
|
|
--DESCRIPTION--
|
|
This would be similar to what IIS produces for a simple query
|
|
that also has PATH_INFO.
|
|
--REQUEST--
|
|
return <<<END
|
|
PATH_INFO=/path/info
|
|
END;
|
|
--ENV--
|
|
return <<<END
|
|
PATH_TRANSLATED=/path/bla
|
|
PATH_INFO=/path/info
|
|
SCRIPT_NAME=path
|
|
END;
|
|
--FILE--
|
|
<?php
|
|
echo $_SERVER['PATH_INFO'];
|
|
?>
|
|
--EXPECT--
|
|
/path/info
|