xref: /PHP-7.4/ext/phar/tests/bug77565.phpt (revision d1b1c043)
1--TEST--
2Bug #77565 (Incorrect locator detection in ZIP-based phars)
3--SKIPIF--
4<?php
5if (!extension_loaded('phar')) die('skip phar extension not available');
6?>
7--FILE--
8<?php
9$phar = new PharData(__DIR__ . '/bug77565.zip');
10var_dump($phar['1.zip']->getFilename());
11?>
12--EXPECT--
13string(5) "1.zip"
14