--TEST-- FPM: FastCGI env var no path info fix for custom setup with PATH_INFO and PATH_TRANSLATED --SKIPIF-- --FILE-- createSourceFileAndScriptName(); $tester->start(); $tester->expectLogStartNotices(); $tester ->request( headers: [ 'PATH_INFO' => '/pinfo', 'PATH_TRANSLATED' => $sourceFilePath, ], uri: $scriptName . '/pinfo', scriptFilename: $sourceFilePath . '/pinfo', // used just for variable display scriptName: $scriptName, ) ->expectBody([$scriptName, $sourceFilePath . '/pinfo', '/pinfo', '/pinfo']); $tester->terminate(); $tester->close(); ?> Done --EXPECT-- Done --CLEAN--