#24429 [Opn->Csd]: Call-time pass-by-reference has been deprecated
| From: | betz@php.net | Date: | Wed, 02 Jul 2003 13:03:04 +0000 |
| Subject: | #24429 [Opn->Csd]: Call-time pass-by-reference has been deprecated | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969354994@lists.php.net to get a copy of this message | ||
ID: 24429
Updated by: betz@php.net
Reported By: fakeraol at hotmail dot com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: Win2k
PHP Version: 4.3.1
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2003-07-01 03:39:36] fakeraol at hotmail dot com
Description:
------------
my php-version is 4.3.0 but thats unimportant.
the bug is in:
http://de2.php.net/manual/de/function.fsockopen.php
Beispiel 1. fsockopen()-Beispiel:
<?php
$fp = fsockopen ("www.example.com", 80, &$errno, &$errstr, 30);
english version is different:
Example 1. fsockopen() Example
<?php
$fp = fsockopen ("www.example.com", 80, $errno, $errstr, 30);
"&$errno, &$errstr" <=> "$errno, $errstr"
Reproduce code:
---------------
$fp = fsockopen ("www.example.com", 80, &$errno, &$errstr, 30);
Actual result:
--------------
Warning: Call-time pass-by-reference has been deprecated - argument
passed by value; ...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24429&edit=1