On 11/26/07, Stanislav Malyshev <[EMAIL PROTECTED]> wrote: > > I believe this first patch is the proper way to go. It feels > > "natural", "intuitive", etc. > > I don't see how making parent::foo() and A::foo() work differently is > either "natural" or "intuitive".
A::foo() doesn't mean any inheritance at all. "A" can be completely unrelated class parent::foo() means inheritance and inheritance means "extending" and "keeping context". So, "parent::foo()" means "call method of parent-class, but remember, that we extended that class, so keep context" -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php