Edit report at http://bugs.php.net/bug.php?id=53670&edit=1
ID: 53670 User updated by: bugzilla33 at gmail dot com Reported by: bugzilla33 at gmail dot com Summary: phar:// wrapper do not read empty files -Status: Open +Status: Closed Type: Bug Package: PHAR related Operating System: win7 32 -PHP Version: 5.3.4 +PHP Version: 5.3.5 Block user comment: N Private report: N New Comment: Testcase link does not work. New, better description and new testcase at http://bugs.php.net/bug.php?id=53872 Previous Comments: ------------------------------------------------------------------------ [2011-01-06 15:27:48] bugzilla33 at gmail dot com Description: ------------ phar:// wrapper do not read empty files Test script: --------------- download and unzip testcase http://host0001.webd.pl/bugs/php/phar_empty_file.zip Step 1. To compress phar folder to phar.phar file run: step_1_compress_to_phar.php Step 2. require data from phar.phar/first.php step_2_read_phar_first.php Step 3. require data from phar.phar/second.php step_3_read_phar_second.php Expected result: ---------------- no internal corruption of phar when reading empty files Actual result: -------------- failed to open stream: phar error: internal corruption of phar ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=53670&edit=1