#30542 [Opn->Bgs]: Using Paamayim Nekudotayim makes lowcase on function

From: Date: Sat, 23 Oct 2004 15:04:50 +0000
Subject: #30542 [Opn->Bgs]: Using Paamayim Nekudotayim makes lowcase on function
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-68011@lists.php.net to get a copy of this message
ID: 30542 Updated by: tony2001@php.net Reported By: jsgoupil at lookstrike dot com -Status: Open +Status: Bogus Bug Type: Zend Engine 2 problem Operating System: WinXP PHP Version: 5.0.2 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. Function names are case insensitive. Previous Comments: ------------------------------------------------------------------------ [2004-10-23 16:55:05] jsgoupil at lookstrike dot com 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30542&edit=1

« previous php.bugs (#68011) next »