xref: /PHP-8.1/ext/phar/tests/bug77565.phpt (revision 74859783)
1--TEST--
2Bug #77565 (Incorrect locator detection in ZIP-based phars)
3--EXTENSIONS--
4phar
5--FILE--
6<?php
7$phar = new PharData(__DIR__ . '/bug77565.zip');
8var_dump($phar['1.zip']->getFilename());
9?>
10--EXPECT--
11string(5) "1.zip"
12