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
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php