php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #19158 [chm] bug on streams.basics.html
Submitted: 2002-08-28 17:31 UTC Modified: 2002-11-05 07:22 UTC
From: bestworldweb at yahoo dot co dot nz Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.2.2 OS: windows
Private report: No CVE-ID: None
 [2002-08-28 17:31 UTC] bestworldweb at yahoo dot co dot 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);
}

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-31 13:58 UTC] iliaa@php.net
Does the problem still exist in the latest version (10th edition) of the chm manual?
 [2002-11-05 07:22 UTC] iliaa@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.

User reports (via email) that the problem has been fixed.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 18 18:01:28 2024 UTC