php-src/ext/phar/tests/frontcontroller21.phpt

22 lines
689 B
Plaintext
Raw Normal View History

2008-01-05 22:02:33 +00:00
--TEST--
Phar front controller $_SERVER munging success
--SKIPIF--
<?php if (!extension_loaded("phar")) die("skip"); ?>
--ENV--
SCRIPT_NAME=/frontcontroller21.php
REQUEST_URI=/frontcontroller21.php/index.php?test=hi
PATH_INFO=/index.php
QUERY_STRING=test=hi
2008-01-05 22:02:33 +00:00
--FILE_EXTERNAL--
frontcontroller12.phar
--EXPECTHEADERS--
Content-type: text/html
--EXPECTF--
string(10) "/index.php"
string(%d) "phar://%sfrontcontroller21.php/index.php"
string(%d) "phar://%sfrontcontroller21.php/index.php"
string(18) "/index.php?test=hi"
2008-01-05 22:02:33 +00:00
string(32) "/frontcontroller21.php/index.php"
string(22) "/frontcontroller21.php"
2008-01-14 05:03:02 +00:00
string(%d) "%sfrontcontroller21.php"
string(40) "/frontcontroller21.php/index.php?test=hi"