diff options
author | SVN Migration <svn@php.net> | 2008-05-12 21:03:49 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2008-05-12 21:03:49 +0000 |
commit | 16b4d8e0e1108564fa042520171d9091af708d83 (patch) | |
tree | ed242b98e845ea9c045ad6e10b9e9a083b569dd5 /ext/phar/tests/tar/frontcontroller21.phar.phpt | |
parent | e35c45791383ac9337adcd37255895f396001557 (diff) | |
download | php-git-16b4d8e0e1108564fa042520171d9091af708d83.tar.gz |
This commit was manufactured by cvs2svn to create branch 'PHP_5_3'.
Diffstat (limited to 'ext/phar/tests/tar/frontcontroller21.phar.phpt')
-rw-r--r-- | ext/phar/tests/tar/frontcontroller21.phar.phpt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/ext/phar/tests/tar/frontcontroller21.phar.phpt b/ext/phar/tests/tar/frontcontroller21.phar.phpt new file mode 100644 index 0000000000..eb21897226 --- /dev/null +++ b/ext/phar/tests/tar/frontcontroller21.phar.phpt @@ -0,0 +1,22 @@ +--TEST-- +Phar front controller $_SERVER munging success tar-based +--SKIPIF-- +<?php if (!extension_loaded("phar")) die("skip"); ?> +--ENV-- +SCRIPT_NAME=/frontcontroller21.phar.php +REQUEST_URI=/frontcontroller21.phar.php/index.php?test=hi +PATH_INFO=/index.php +QUERY_STRING=test=hi +--FILE_EXTERNAL-- +files/frontcontroller12.phar.tar +--EXPECTHEADERS-- +Content-type: text/html +--EXPECTF-- +string(10) "/index.php" +string(10) "/index.php" +string(%d) "phar://%sfrontcontroller21.phar.php/index.php" +string(18) "/index.php?test=hi" +string(37) "/frontcontroller21.phar.php/index.php" +string(27) "/frontcontroller21.phar.php" +string(%d) "%sfrontcontroller21.phar.php" +string(45) "/frontcontroller21.phar.php/index.php?test=hi"
\ No newline at end of file |