diff options
Diffstat (limited to 'ext/phar/tests/withphar_web.phpt')
| -rw-r--r-- | ext/phar/tests/withphar_web.phpt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ext/phar/tests/withphar_web.phpt b/ext/phar/tests/withphar_web.phpt new file mode 100644 index 0000000..487873a --- /dev/null +++ b/ext/phar/tests/withphar_web.phpt @@ -0,0 +1,16 @@ +--TEST-- +Phar: default web stub, with phar extension +--INI-- +default_charset=UTF-8 +--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; charset=UTF-8 +--EXPECT-- +web |
