Hi,

On Sat, 2007-12-01 at 00:24 +0800, "Jingcheng Zhang" wrote:
> Hi Etienne,
>   Is "private" only an access limiter between classes?If so, I think private
> properties and methods should be OK to be extended into the child class, but
> currently that's not the case, and there is also a bug here, consider the
> following example:

The child class is another class, "private" gives you encapsulation
inside the base class's context. and preventing acces from other class's
context.

johannes

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to