xref: /PHP-7.2/sapi/tests/test003.phpt (revision f1d7e3ca)
1--TEST--
2IIS style CGI missing SCRIPT_FILENAME, has PATH_INFO
3--DESCRIPTION--
4This would be similar to what IIS produces for a simple query
5that also has PATH_INFO.
6--REQUEST--
7return <<<END
8PATH_INFO=/path/info
9END;
10--ENV--
11return <<<END
12PATH_TRANSLATED=/path/bla
13PATH_INFO=/path/info
14SCRIPT_NAME=path
15END;
16--FILE--
17<?php
18    echo $_SERVER['PATH_INFO'];
19?>
20--EXPECT--
21/path/info
22