Re: Inconsistencies when accessing protected members
| From: | Richard Lynch | Date: | Thu, 27 Mar 2008 01:48:36 +0000 |
| Subject: | Re: Inconsistencies when accessing protected members | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-36600@lists.php.net to get a copy of this message | ||
On Mon, March 24, 2008 8:16 pm, Felipe Pena wrote:
> Do we keep the support added in
> http://bugs.php.net/bug.php?id=37632
> (that isn't supported in C++, for instance) or fix the
> zend_is_callable_check_func() ?
Personally, it makes sense to me for a PROTECTED function (et al) with
a common prototype ancestor to be able to be called by subclasses.
PRIVATE, not so clear-cut...
It should certainly be self-consistent with the other use cases,
whatever is decided.
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?