summaryrefslogtreecommitdiff
path: root/ext/phar/tests/cache_list/frontcontroller33.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/phar/tests/cache_list/frontcontroller33.phpt')
-rw-r--r--ext/phar/tests/cache_list/frontcontroller33.phpt16
1 files changed, 16 insertions, 0 deletions
diff --git a/ext/phar/tests/cache_list/frontcontroller33.phpt b/ext/phar/tests/cache_list/frontcontroller33.phpt
new file mode 100644
index 0000000..9573854
--- /dev/null
+++ b/ext/phar/tests/cache_list/frontcontroller33.phpt
@@ -0,0 +1,16 @@
+--TEST--
+Phar front controller with valid callback that does not return any value [cache_list]
+--INI--
+default_charset=UTF-8
+phar.cache_list={PWD}/frontcontroller33.php
+--SKIPIF--
+<?php if (!extension_loaded("phar")) die("skip"); ?>
+--ENV--
+SCRIPT_NAME=/frontcontroller33.php
+REQUEST_URI=/frontcontroller33.php
+--EXPECTHEADERS--
+Content-type: text/html; charset=UTF-8
+--FILE_EXTERNAL--
+files/frontcontroller18.phar
+--EXPECTF--
+phar error: rewrite callback must return a string or false \ No newline at end of file