|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-10-23 17:04 UTC] tony2001@php.net
[2004-10-23 17:11 UTC] jsgoupil at lookstrike dot com
[2004-10-24 01:04 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 23 07:00:01 2025 UTC |
Description: ------------ When we use the Paamayim Nekudotayim with class on an unexistant function, this function is written in lowcase. It's only a little bug and doesn't really affect me ;) Reproduce code: --------------- <?php class A { } class C extends A { public function test(){ echo parent::TESTING(); echo $this->TESTING(); // Comment line above to get this error... } } $c = new C(); echo $c->test(); ?> Expected result: ---------------- Fatal error: Call to undefined method A::TESTING() in D:\www\LookStrike\ls_lite\a.php on line 8 and Fatal error: Call to undefined method C::TESTING() in D:\www\LookStrike\ls_lite\a.php on line 9 Actual result: -------------- Fatal error: Call to undefined method A::testing() in D:\www\LookStrike\ls_lite\a.php on line 8 and Fatal error: Call to undefined method C::TESTING() in D:\www\LookStrike\ls_lite\a.php on line 9