[prev in list] [next in list] [prev in thread] [next in thread] 

List:       phpdoc
Subject:    [PHP-DOC] #19158 [Opn->Fbk]: [chm] bug on streams.basics.html
From:       iliaa () php ! net
Date:       2002-10-31 19:58:20
[Download RAW message or body]

 ID:               19158
 Updated by:       iliaa@php.net
 Reported By:      bestworldweb@yahoo.co.nz
-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@yahoo.co.nz

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic