[PHP-DOC] #19158 [Opn->Fbk]: [chm] bug on streams.basics.html From: iliaa <email protected>
Date: 10/31/02

 ID: 19158
 Updated by: iliaa <email protected>
 Reported By: bestworldweb <email protected>
-Status: Open
+Status: Feedback
 Bug Type: Documentation problem
 Operating System: windows
 PHP Version: 4.2.2
 New Comment:

Does the problem still exist in the latest version (10th edition) of
the chm manual?

Previous Comments:
------------------------------------------------------------------------

[2002-08-28 17:31:32] bestworldweb <email protected>

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 this bug report at http://bugs.php.net/?id=19158&edit=1

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