Re: Package proposal: Mail_Mime (alternative)
| From: | Derick Rethans | Date: | Fri, 15 Aug 2003 22:24:23 +0000 |
| Subject: | Re: Package proposal: Mail_Mime (alternative) | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-19846@lists.php.net to get a copy of this message | ||
On Fri, 15 Aug 2003, Heino H. Gehlsen wrote:
> If it's an object one have to do it, but what if it's a potentially very
> large string/array?
It's needed for an object in PHP 4 only. For an string/array it is only
useful to do if you are modifying them. If you're not you're better off
by NOT passing them as reference. PHP will only do a copy if you modify
it (copy-on-write).
Derick
--
"Interpreting what the GPL actually means is a job best left to those
that read the future by examining animal entrails."
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
International PHP Magazine http://php-mag.net/
-------------------------------------------------------------------------