Case sensivity in constructor's fallback
| Bug #40784 | Case sensivity in constructor's fallback | ||||
|---|---|---|---|---|---|
| Submitted: | 2007-03-12 12:31 UTC | Modified: | 2007-03-12 13:11 UTC | ||
| From: | colder@php.net | Assigned: | tony2001 (profile) | ||
| Status: | Closed | Package: | Scripting Engine problem | ||
| PHP Version: | 5.2.1 | OS: | Irrelevant | ||
| Private report: | No | CVE-ID: | None | ||
[2007-03-12 12:31 UTC] 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()
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2007-03-12 13:11 UTC] tony2001@php.net