mirror of
https://github.com/php/php-src.git
synced 2026-04-24 00:18:23 +02:00
7485978339
This is an automated migration of most SKIPIF extension_loaded checks.
14 lines
233 B
PHP
14 lines
233 B
PHP
--TEST--
|
|
PHP bug #77247 (heap buffer overflow in phar_detect_phar_fname_ext)
|
|
--EXTENSIONS--
|
|
phar
|
|
--FILE--
|
|
<?php
|
|
try {
|
|
var_dump(new Phar('a/.b', 0,'test.phar'));
|
|
} catch(UnexpectedValueException $e) {
|
|
echo "OK";
|
|
}
|
|
?>
|
|
--EXPECT--
|
|
OK
|