xref: /PHP-5.3/ext/phar/tests/front.phar.phpt (revision 228c2886)
1--TEST--
2Phar front controller with mounted external file
3--INI--
4default_charset=UTF-8
5detect_unicode=0
6--SKIPIF--
7<?php if (!extension_loaded("phar")) die("skip"); ?>
8--ENV--
9SCRIPT_NAME=/front.phar.php
10REQUEST_URI=/front.phar.php/index.php
11PATH_INFO=/index.php
12--EXPECTHEADERS--
13Content-type: text/html; charset=UTF-8
14--FILE_EXTERNAL--
15files/blog.phar
16--EXPECTF--
17string(%d) "<xml version="1.0" encoding="UTF-8">
18<config>
19 <database>
20  <host>localhost</name>
21  <user>squirrel</user>
22  <pass>nuts</pass>
23  <db>hoard</db>
24 </database>
25</config>
26"
27