Re: [PATCH] disallow arguments by ref in magic methods
| From: | Richard Quadling | Date: | Thu, 30 Aug 2007 13:18:58 +0000 |
| Subject: | Re: [PATCH] disallow arguments by ref in magic methods | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-31984@lists.php.net to get a copy of this message | ||
On 30/08/2007, Antony Dovgal <antony@zend.com> wrote:
> Hello.
>
> I'd like to commit these two patches (for HEAD and 5_2 appropriately).
> The patches disallow declaring any magic methods as accepting arguments by ref (which makes no
> sense anyway).
Why not. Sure, on __set()/__get()/__unset() it could be considered
pointless, but for __call()?
> If there are no objections, I'm going to commit them later in the evening.
--
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"