PHP 4.0 Bug #8087: fsockopen declaration

From: Date: Sun, 03 Dec 2000 17:53:50 +0000
Subject: PHP 4.0 Bug #8087: fsockopen declaration
Groups: php.dev 
Request: Send a blank email to php-dev+get-39916@lists.php.net to get a copy of this message
From: james@ractive.ch Operating system: All PHP version: 4.0.2 PHP Bug Type: Feature/Change Request Bug description: fsockopen declaration 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 Bug report at: http://bugs.php.net/?id=8087&edit=1

« previous php.dev (#39916) next »