#40784 [Opn->Asn]: Case sensivity in constructor's fallback
ID: 40784
Updated by: tony2001@php.net
Reported By: colder@php.net
-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] colder@php.net
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
Thread (3 messages)