mirror of
https://github.com/php/php-src.git
synced 2024-10-04 00:06:16 +00:00
7540adf058
the new default stub allows creation of phars that run identically 1) with Phar extension 2) without Phar extension 3) extracted to disk from the phar this makes the default phar format quite interesting as it eliminates the only drawback of the extension
15 lines
253 B
PHP
15 lines
253 B
PHP
--TEST--
|
|
Phar: phar run without pecl/phar with default stub
|
|
--SKIPIF--
|
|
<?php if (extension_loaded("phar")) die("skip"); ?>
|
|
--FILE--
|
|
<?php
|
|
include dirname(__FILE__) . '/nophar.phar';
|
|
?>
|
|
===DONE===
|
|
--EXPECT--
|
|
in b
|
|
<?php include "b/c.php";
|
|
in d
|
|
===DONE===
|