1
0
mirror of https://github.com/php/php-src.git synced 2026-04-20 14:31:06 +02:00
Files
archived-php-src/ext/phar/tests/front.phar.phpt
Nikita Popov 1a370d3321 Skip some tests under --preload
A genuine problem here is that we sometime get different class
casing due interaction with the ZSTR CE cache. Ignore these for
now.
2021-07-30 17:26:39 +02:00

31 lines
594 B
PHP

--TEST--
Phar front controller with mounted external file
--INI--
default_charset=UTF-8
opcache.validate_timestamps=1
--EXTENSIONS--
phar
--SKIPIF--
<?php
if (getenv('SKIP_PRELOAD')) die('skip Unknown failure');
?>
--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>
"