On Thu, 19 Feb 2004 16:02:10 +0100 (CET) Derick Rethans <[EMAIL PROTECTED]> wrote:
> But it should get set in non-static methods...which doesn't happen now > :) $this is set in non static methods if the method is called from an instance of the object and not set if called statically. It's exactly the same behavior as php4. That's why I like the notice on a non static call of a static method, cleaner and no BC as the static methods did not exist in php4. See the tests script in the beginning of this thread. hth pierre -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php