ID: 34439 Updated by: [EMAIL PROTECTED] Reported By: rganogork at gmail dot com -Status: Open +Status: Bogus Bug Type: Class/Object related Operating System: gentoo linux PHP Version: 4.4.0 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php , Previous Comments: ------------------------------------------------------------------------ [2005-09-09 17:09:51] rganogork at gmail dot com Description: ------------ $this should not be defined in the context of a static function call. Reproduce code: --------------- class A { function func() { echo get_class($this); } } class B { function x() { A::func(); } } $b = new B(); $b->x(); Expected result: ---------------- .. nothing .. (object not present/instantiated/defined) Actual result: -------------- b ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34439&edit=1
