Re: By refernce in fsockopen()
| From: | Andrei Zmievski | Date: | Tue, 17 Oct 2000 21:47:55 +0000 |
| Subject: | Re: By refernce in fsockopen() | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-35337@lists.php.net to get a copy of this message | ||
On Tue, 17 Oct 2000, Colin Viebrock wrote:
> I'm wondering how (if at all) the passing-by-reference issue
> affects fsockopen().
>
> Right now, I'm using the syntax:
>
> $socket = fsockopen($HOST, $PORT, &$err_num, &$err_msg, $timeout );
>
> Should I drop the "&" from the third and fourth arguments from
> now on?
Yes.
-Andrei
"In My Egotistical Opinion, most people's C programs should be indented
six feet downward and covered with dirt." -- Blair P. Houghton