Re: PEAR CS poll
| From: | Joshua Eichorn | Date: | Fri, 08 Oct 2004 23:03:50 +0000 |
| Subject: | Re: PEAR CS poll | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-33726@lists.php.net to get a copy of this message | ||
Klaus Guenther wrote:
Ian Eure wrote:-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. Klaus Arrays and other non object variables that you might still want to pass by reference.If 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?