From 16b4d8e0e1108564fa042520171d9091af708d83 Mon Sep 17 00:00:00 2001 From: SVN Migration Date: Mon, 12 May 2008 21:03:49 +0000 Subject: This commit was manufactured by cvs2svn to create branch 'PHP_5_3'. --- ext/phar/tests/tar/frontcontroller21.phar.phpt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 ext/phar/tests/tar/frontcontroller21.phar.phpt (limited to 'ext/phar/tests/tar/frontcontroller21.phar.phpt') 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-- + +--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 -- cgit v1.2.1