mirror of
https://github.com/php/php-src.git
synced 2026-03-26 09:12:14 +01:00
--file-cache-prime populates the file cache, --file-cache-use uses the file cache. And fix a number of tests to run under file cache or disabled timestamp validation.
27 lines
561 B
PHP
27 lines
561 B
PHP
--TEST--
|
|
Phar front controller with mounted external file
|
|
--INI--
|
|
default_charset=UTF-8
|
|
opcache.validate_timestamps=1
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
|
--ENV--
|
|
SCRIPT_NAME=/front.phar.php
|
|
REQUEST_URI=/front.phar.php/index.php
|
|
PATH_INFO=/index.php
|
|
--EXPECTHEADERS--
|
|
Content-type: text/html; charset=UTF-8
|
|
--FILE_EXTERNAL--
|
|
files/blog.phar
|
|
--EXPECTF--
|
|
string(%d) "<xml version="1.0" encoding="UTF-8">
|
|
<config>
|
|
<database>
|
|
<host>localhost</name>
|
|
<user>squirrel</user>
|
|
<pass>nuts</pass>
|
|
<db>hoard</db>
|
|
</database>
|
|
</config>
|
|
"
|