From:             [EMAIL PROTECTED]
Operating system: windows
PHP version:      4.2.2
PHP Bug Type:     Documentation problem
Bug description:  [chm] bug on streams.basics.html

I have found a bug on page streams.basics.html
[chm date: 2002-08-14]...

The following code is displayed so that certain lines overlap each other.

php_stream * stream = php_stream_open_wrapper("http://www.php.net";, "rb",
REPORT_ERRORS, NULL);
if (stream) {
   while(!php_stream_eof(stream)) {
       char buf[1024];
       
       if (php_stream_gets(stream, buf, sizeof(buf))) {
           printf(buf);
       } else {
           break;
       }
   }
   php_stream_close(stream);
}
-- 
Edit bug report at http://bugs.php.net/?id=19158&edit=1
-- 
Try a CVS snapshot:  http://bugs.php.net/fix.php?id=19158&r=trysnapshot
Fixed in CVS:        http://bugs.php.net/fix.php?id=19158&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=19158&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=19158&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=19158&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19158&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=19158&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=19158&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=19158&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=19158&r=globals


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to