Test: /ext/phar/tests/bug60164.phpt - Version 5.4.0RC2-dev        

Bug #60164 Stubs of a specific length break phar_open_from_fp scanning for __HALT_COMPILER
Submitted: 2011-10-28 19:46:37 Modified: 2011-11-19 04:59:57
From: ralph Assigned: stas
Status: Closed Package: PHAR related
PHP Version: 5.3SVN-2011-10-28 (snap) OS: All

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

Count Diff
8 (89%)
001+ Fatal error: Uncaught exception 'UnexpectedValueException' with message 'internal corruption of phar "/experiment/src/ext/phar/tests/files/stuboflength1041.phar" (__HALT_COMPILER(); not found)' in %s/bug60164.php:3
002+ Stack trace:
003+ #0 %s/bug60164.php(3): Phar->__construct('/experiment/src...', 0, 'stuboflength104...')
001- string(5) "a.php"
002- string(5) "b.php"
003- ===DONE===
004+ #1 {main}
005+ thrown in %s/bug60164.php on line 3
1 (11%)
001+ Fatal error: Uncaught exception 'UnexpectedValueException' with message 'internal corruption of phar "/home/popsul/php5.4-201111200930/ext/phar/tests/files/stuboflength1041.phar" (__HALT_COMPILER(); not found)' in %s/bug60164.php:3
002+ Stack trace:
003+ #0 %s/bug60164.php(3): Phar->__construct('/home/popsul/ph...', 0, 'stuboflength104...')
001- string(5) "a.php"
002- string(5) "b.php"
003- ===DONE===
004+ #1 {main}
005+ thrown in %s/bug60164.php on line 3