php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #22043 ref.stream.php: missing ) in 2nd example
Submitted: 2003-02-04 06:00 UTC Modified: 2003-02-04 06:12 UTC
From: tix@php.net Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.3.0 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: tix@php.net
New email:
PHP Version: OS:

 

 [2003-02-04 06:00 UTC] tix@php.net
Hi,

some user showed us a hint to the following page:
http://www.php.net/manual/en/ref.stream.php

in the second example is a closing bracket missing:

if (!$sock) die("$errstr ($errno)\n";

should be:

if (!$sock) die("$errstr ($errno)\n");

Greetings,
Oliver

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-04 06:12 UTC] betz@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.


 [2020-02-07 06:12 UTC] phpdocbot@php.net
Automatic comment on behalf of betz
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=db8fe9037dad4f2896f0af414be878e7fb69749b
Log: typo, fix #22043
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 09 04:01:35 2025 UTC