> To quote Microsoft, "this is a feature, not a bug." :)  Of course, if
> someone tries to call a non-static method from another completely
> unrelated class, that's just stupid.  But there are cases where you
> might want to call a method from a parent class 2 levels up.


I can see calling the method from a parent as valid, but from an unrelated
class I see it as a bug.
When calling a non-static method, it is allowed which it shouldnt be and
when calling a method which can be either, it should be called as a true
static method and not as a method of this unrelated object.

The crashes can be fixed, but imo it should be fixed on the engine level
rather than writing around the engine in the extensions as this behavior is
just wrong.

Rob

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

Reply via email to