Re: Only variables or references can be returned by reference
| From: | Andi Gutmans | Date: | Mon, 12 Jan 2004 16:06:22 +0000 |
| Subject: | Re: Only variables or references can be returned by reference | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-6993@lists.php.net to get a copy of this message | ||
At 10:39 AM 1/12/2004 -0500, Daniel Convissor wrote:
On Mon, Jan 12, 2004 at 09:05:12AM +0200, Andi Gutmans wrote: b) A function which returned a variable by reference couldn't be returned by reference. I think this one is probably OK to code. But, does this cause memory corruption problems in PHP 4?If it's returned by reference consistently then I believe it doesn't. Andi