Re: Private member/method access inconsistency

From: Date: Tue, 06 Jan 2009 22:40:06 +0000
Subject: Re: Private member/method access inconsistency
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-42519@lists.php.net to get a copy of this message
> 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

« previous php.internals (#42519) next »