> To me it looks like a large inconsistency in the way we invoke overloaded > handlers for > members vs. methods. I am not sure how it came to be this way, but it's > probably something > we should fix. We can either remove the call to __get() on private member > access, or add > call to __call() on private method invocation. The former approach presents > more of a BC > problem IMHO, so I am advocating the latter. I've attached a simple patch > for consideration. >
I'd say go ahead, this sounds like common sense to be consistent in both methods and members. -- Slan, David -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php