#40784 [Asn->Csd]: Case sensivity in constructor's fallback
ID: 40784
Updated by: tony2001@php.net
Reported By: colder@php.net
-Status: Assigned
+Status: Closed
Bug Type: Scripting Engine problem
Operating System: Irrelevant
PHP Version: 5.2.1
Assigned To: tony2001
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
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)