Re: Re: Problem with passing function return values by reference
| From: | Stanislav Malyshev | Date: | Fri, 17 Nov 2000 16:42:34 +0000 |
| Subject: | Re: Re: Problem with passing function return values by reference | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-38435@lists.php.net to get a copy of this message | ||
AG>> As a general rule:
AG>> With objects it's faster to pass by reference.
AG>> With other data-types it's faster to pass by value.
Oh, yes? And why? Are objects treated by function passing code differently
than lower-class variables?
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.106