summaryrefslogtreecommitdiff
path: root/ext/phar/tests/frontcontroller33.phpt
blob: 91581f43af8461064d03eb22c1f483ea105b6824 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
Phar front controller with valid callback that does not return any value
--INI--
default_charset=UTF-8
--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