ID: 40784
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Assigned
Bug Type: Scripting Engine problem
Operating System: Irrelevant
PHP Version: 5.2.1
-Assigned To:
+Assigned To: tony2001
Previous Comments:
------------------------------------------------------------------------
[2007-03-12 12:31:44] [EMAIL PROTECTED]
Description:
------------
When resolving a static method, there is one case where it will be
case-sensitive, which I believe is bogous:
Reproduce code:
---------------
class A {
function A () { echo "I'm A"; }
}
class B extends A {
function __construct() {
parent::__constrUct();
}
}
$b = new B;
Expected result:
----------------
I'm A
Actual result:
--------------
Fatal error: Call to undefined method A::__construct()
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40784&edit=1