Test: /ext/phar/tests/bug77565.phpt - Version 7.4.6        

Bug #77565 Incorrect locator detection in ZIP-based phars
Submitted: 2019-02-04 12:47:24 Modified: 2020-12-11 14:35:21
From: tshumbeo Assigned: cmb
Status: Closed Package: PHAR related
PHP Version: 7.3.1 OS: Any

There are 2 different diffs reported by users for this test.

Count Diff
1 (50%)
001+ Fatal error: Uncaught UnexpectedValueException: phar error: corrupted central directory entry, no magic signature in zip-based phar "/var/www/php/php-7.4.15/ext/phar/tests/bug77565.zip" in %s/bug77565.php:2 001- string(5) "1.zip" 002+ Stack trace: 003+ #0 %s/bug77565.php(2): PharData->__construct('/var/www/php/ph...') 004+ #1 {main} 005+ thrown in %s/bug77565.php on line 2
1 (50%)
001+ Fatal error: Uncaught UnexpectedValueException: phar error: corrupted central directory entry, no magic signature in zip-based phar "/tmp/php-7.4.22/ext/phar/tests/bug77565.zip" in %s/bug77565.php:2 001- string(5) "1.zip" 002+ Stack trace: 003+ #0 %s/bug77565.php(2): PharData->__construct('/tmp/php-7.4.22...') 004+ #1 {main} 005+ thrown in %s/bug77565.php on line 2