Pass by reference
| From: | Andrey Hristov | Date: | Tue, 23 Jul 2002 09:33:55 +0000 |
| Subject: | Pass by reference | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-86104@lists.php.net to get a copy of this message | ||
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