Re: PEAR CS poll
| From: | Klaus Guenther | Date: | Fri, 08 Oct 2004 23:05:30 +0000 |
| Subject: | Re: PEAR CS poll | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-33727@lists.php.net to get a copy of this message | ||
Joshua Eichorn wrote:
Klaus Guenther wrote:I'm convinced :) KlausIan Eure wrote:Arrays and other non object variables that you might still want to pass by reference. -joshOn Friday 08 October 2004 03:49 pm, Klaus Guenther wrote:Of course, that is a good thing and very necessary. However, it would have been just as well for them to have ignored the & and have made =& an alias for = ... or maybe I'm missing something here. KlausIf this is the case, I personally don't see that much use in PEAR packages for the =& operator as implemented in php5. It is asking for people to accidentally unset an object that they might indeed still need (by unsetting the one variable, they unset all others that point to the same object). Of course, there must be valid uses for it, but they are not very obvious, imho.Backwards compatibility with PHP 4.x?