#19158 [Opn->Fbk]: [chm] bug on streams.basics.html
| From: | iliaa@php.net | Date: | Thu, 31 Oct 2002 19:58:20 +0000 |
| Subject: | #19158 [Opn->Fbk]: [chm] bug on streams.basics.html | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969349376@lists.php.net to get a copy of this message | ||
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