Re: __call() magic method

From: Date: Sat, 30 Aug 2008 23:04:12 +0000
Subject: Re: __call() magic method
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-40176@lists.php.net to get a copy of this message
On 31.08.2008 02:50, Diogo Neves wrote:
Exactly... Is that normal workings or more like a bugie one?
Definitely not a bug. I believe the reason is that if you enable __call() in this case, you'd have different behavior depending on the calling scope, i.e. complete mess. Also there would be no way to know you're calling a method you're not supposed to call (unless you trigger an error yourself). -- Wbr, Antony Dovgal

« previous php.internals (#40176) next »