ID:               8087
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: All
 PHP Version:      4.0.2
 New Comment:

This bug has been fixed in CVS.




Previous Comments:
------------------------------------------------------------------------

[2002-02-09 23:14:15] [EMAIL PROTECTED]

the code does force the third and fourth arguments to be refs, the
documentation is out of date.

------------------------------------------------------------------------

[2000-12-03 12:53:50] [EMAIL PROTECTED]

When you use fsockopen with allow_call_time_pass_reference = Off in the
php.ini, there's an error message that this feature won't be supported
in future versions any more and that the declaration of fsockopen
should be changed. The other way round, the manual says: "Note that the
errno and errstr arguments must be passed by reference."

So, the declaration of fsockopen should be changed in future versions
to:
int fsockopen (string [udp://]hostname, int port [, int &errno [,
string &errstr [, double timeout]]])
   

Regards

Jean-Pierre Bergamin
http://www.ractive.ch


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=8087&edit=1

Reply via email to