mirror of
https://github.com/php/php-src.git
synced 2026-04-19 05:51:02 +02:00
12 lines
226 B
PHP
12 lines
226 B
PHP
--TEST--
|
|
Bug #77565 (Incorrect locator detection in ZIP-based phars)
|
|
--EXTENSIONS--
|
|
phar
|
|
--FILE--
|
|
<?php
|
|
$phar = new PharData(__DIR__ . '/bug77565.zip');
|
|
var_dump($phar['1.zip']->getFilename());
|
|
?>
|
|
--EXPECT--
|
|
string(5) "1.zip"
|