Hello,
I know this isn't as exciting as the GOTO discussion, but I need some help.
I don't know if this just my fault, or if it's a PHP problem.
Consider this:
<?
$fp=fopen('compress.bzip2://http://php.net/backend/notes/all.bz2', 'r');
while (!feof($fp)) {
echo fgets($fp, 4096);
}
fclose($fp);
?>
This gives an error:
Warning: fopen() 1137 bytes of buffered data lost during stream conversion!
in /cvs/livedocs/test_bz.php on line 3
And outputs nothing more. I'm using PHP 5.1.
Whats is wrong here?
Thanks for your time,
Nuno
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php