diff options
Diffstat (limited to 'ext/phar/tests/withphar_web.phpt')
-rw-r--r-- | ext/phar/tests/withphar_web.phpt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/phar/tests/withphar_web.phpt b/ext/phar/tests/withphar_web.phpt new file mode 100644 index 0000000000..45acf13d7f --- /dev/null +++ b/ext/phar/tests/withphar_web.phpt @@ -0,0 +1,14 @@ +--TEST-- +Phar: default web stub, with phar extension +--SKIPIF-- +<?php if (!extension_loaded("phar")) die("skip");?> +--ENV-- +SCRIPT_NAME=/withphar_web.php +REQUEST_URI=/withphar_web.php/web.php +PATH_INFO=/web.php +--FILE_EXTERNAL-- +files/nophar.phar +--EXPECTHEADERS-- +Content-type: text/html +--EXPECT-- +web |