Re: extract(EXTR_REFS) and pass-by-reference
| From: | Andi Gutmans | Date: | Tue, 04 Jan 2005 16:31:50 +0000 |
| Subject: | Re: extract(EXTR_REFS) and pass-by-reference | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-14277@lists.php.net to get a copy of this message | ||
At 06:26 PM 1/4/2005 +0900, Moriyoshi Koizumi wrote:
On 2005/01/02, at 21:23, Marcus Boerger wrote:There were some good reasons not to implement this change and it definitely just complicated things without giving a real gain. Making debug_zval_dump() reliable is not a good reason. Andiwhile i tried to improve performance of the array functions i developed a new pass type - pass as const which doesn't touch the passed variable at all and is compatible with temp vars, too. Maybe your problem here is a reason to really implement that. Andi what do you think?I think the feature you are proposing will likely be necessary either way. It can also make the output of debug_zval_dump() reliable as implicit separation of zval instances results with bogus reference counts.