Re: Re: "waldschrotts guide to nifty references" - manual pagedraft, version 0.9b

From: Date: Sun, 20 Aug 2000 20:20:39 +0000
Subject: Re: Re: "waldschrotts guide to nifty references" - manual pagedraft, version 0.9b
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-29955@lists.php.net to get a copy of this message
They leak. The fact you don't use them inside a loop, doesn't mean others won't. Things like this tend to be like snow balls - they start as a small innocent little thing, and end up being quite disastrous. I never expected people to use references to build data structures (my own and Andi's fault, if we did, we would have probably not introduced them in the first place). If you encourage people to do it by putting it in the manual in such a suggestive way, more and more people would use it, and the day when people complain that it leaks like hell when inside a loop won't be too far away. Zeev At 23:13 20/08/2000, André Langhorst wrote:
There shouldn't be any further problems with them.
well, then I don´t understand your negative position to them... but I don´t need to understand everyhting ;)
-- Zeev Suraski <zeev@zend.com> http://www.zend.com/

« previous php.dev (#29955) next »