Re: Pass by reference
| From: | John Lim | Date: | Tue, 23 Jul 2002 12:28:28 +0000 |
| Subject: | Re: Pass by reference | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-86125@lists.php.net to get a copy of this message | ||
If you do a search on this newsgroup, Andi Gutmans said this sometime ago,
i believe to the author of Phorum. That's where i originally got the info
in the
article.
Regards, John
"Andrey Hristov" <ahristov@icygen.com> wrote in message
news:009e01c2322c$110bc8d0$1601a8c0@nik...
>
> Hi,
> this article
> http://phplens.com/lens/php-book/optimizing-debugging-php.php
> reads that pass-by-reference is slower than ordinary pass. Is it true?
>
> [snip]
> ....
> This is because (a) passing by reference is slower in PHP (this is
probably
> not intuitive to C programmers, but the Zend Engine has been tuned this
way)
> ....
> [/snip]
>
> Thanks
>
> Andrey Hristov
>