xref: /PHP-7.3/sapi/tests/test003.phpt (revision b746e698)
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