mirror of
https://github.com/php/php-src.git
synced 2026-04-18 05:21:02 +02:00
15 lines
329 B
PHP
15 lines
329 B
PHP
--TEST--
|
|
Bug #79503 (Memory leak on duplicate metadata)
|
|
--EXTENSIONS--
|
|
phar
|
|
--FILE--
|
|
<?php
|
|
try {
|
|
new Phar(__DIR__ . '/bug79503.phar');
|
|
} catch (UnexpectedValueException $ex) {
|
|
echo $ex->getMessage();
|
|
}
|
|
?>
|
|
--EXPECTF--
|
|
phar error: tar-based phar "%s%ebug79503.phar" has invalid metadata in magic file ".phar/.metadata.bin"
|