Ask a Question related to PHP Bugs, Design and Development.
-
colder@php.net #1
#40784 [NEW]: Case sensivity in constructor's fallback
From: [email]colder@php.net[/email]
Operating system: Irrelevant
PHP version: 5.2.1
PHP Bug Type: Scripting Engine problem
Bug description: Case sensivity in constructor's fallback
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 bug report at [url]http://bugs.php.net/?id=40784&edit=1[/url]
--
Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=40784&r=trysnapshot44[/url]
Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=40784&r=trysnapshot52[/url]
Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=40784&r=trysnapshot60[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=40784&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=40784&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=40784&r=needtrace[/url]
Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=40784&r=needscript[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=40784&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=40784&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=40784&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=40784&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=40784&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=40784&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=40784&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=40784&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=40784&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=40784&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=40784&r=float[/url]
No Zend Extensions: [url]http://bugs.php.net/fix.php?id=40784&r=nozend[/url]
MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=40784&r=mysqlcfg[/url]
colder@php.net Guest
-
Lower case
Hi, On Wed, 2005-01-26 at 12:01 +0000, Vladimir S. Petukhov wrote: lower(), upper() and case insensitive search highly depend on the correct... -
fallback-reboot, a new last resort in rebooting a system remotely
Comments and suggestions are welcome, especially if there's already something like this in the free software world. Thanks for reading. This... -
Complicated Fallback ASP.NET Security
I have been working on an ASP.NET app at work for quite some time now. We've been using Windows authentication up until now, but I've come across a... -
#23026 [Com]: Make Zend case-sensitive (classes, functions, remove case-insensitive)
ID: 23026 Comment by: nvivo at mandic dot com dot br Reported By: mfischer@php.net Status: Open Bug Type: ... -
Connections to external sites, fallback to mirrors
I have a script that incorporates content from an external site ($rootdomain). During peak traffic periods the external site experiences severe... -
tony2001@php.net #2
#40784 [Opn->Asn]: Case sensivity in constructor's fallback
ID: 40784
Updated by: [email]tony2001@php.net[/email]
Reported By: [email]colder@php.net[/email]
-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]colder@php.net[/email]
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 [url]http://bugs.php.net/?id=40784&edit=1[/url]
tony2001@php.net Guest
-
tony2001@php.net #3
#40784 [Asn->Csd]: Case sensivity in constructor's fallback
ID: 40784
Updated by: [email]tony2001@php.net[/email]
Reported By: [email]colder@php.net[/email]
-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
[url]http://snaps.php.net/[/url].
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2007-03-12 12:31:44] [email]colder@php.net[/email]
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 [url]http://bugs.php.net/?id=40784&edit=1[/url]
tony2001@php.net Guest



Reply With Quote

