ID: 29521 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: Bzip2 Related Operating System: all PHP Version: 5CVS-2004-08-04 (dev) New Comment:
Yes, both on windows and linux. Previous Comments: ------------------------------------------------------------------------ [2004-09-04 18:10:10] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip Nuno, are you still able to reproduce this error? Your code works fine for me. ------------------------------------------------------------------------ [2004-08-04 13:17:36] [EMAIL PROTECTED] Description: ------------ I can't use the compress.bzip2 wrapper. Can you please check my code above? Reproduce code: --------------- <? $fp=fopen('compress.bzip2://http://php.net/backend/notes/all.bz2', 'r'); while (!feof($fp)) { echo fgets($fp, 4096); } fclose($fp); ?> Actual result: -------------- Warning: fopen() 1137 bytes of buffered data lost during stream conversion! in /cvs/livedocs/test_bz.php on line 3 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29521&edit=1