mirror of
https://github.com/php/php-src.git
synced 2026-04-26 17:38:14 +02:00
7485978339
This is an automated migration of most SKIPIF extension_loaded checks.
18 lines
356 B
PHP
18 lines
356 B
PHP
--TEST--
|
|
Phar: Phar::webPhar, open compiled file fails
|
|
--EXTENSIONS--
|
|
phar
|
|
--INI--
|
|
phar.readonly=1
|
|
--FILE--
|
|
<?php
|
|
try {
|
|
Phar::webPhar('oopsiedaisy.phar', '/index.php');
|
|
} catch (Exception $e) {
|
|
echo $e->getMessage() . "\n";
|
|
}
|
|
__HALT_COMPILER();
|
|
?>
|
|
--EXPECTF--
|
|
internal corruption of phar "%swebphar_compilefail.php" (truncated manifest at manifest length)
|