#18690 [Opn->Bgs]: __function__ results allways lowercase names

From: Date: Thu, 01 Aug 2002 23:13:23 +0000
Subject: #18690 [Opn->Bgs]: __function__ results allways lowercase names
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15776@lists.php.net to get a copy of this message
ID: 18690 Updated by: sniper@php.net Reported By: alberty@neptunelabs.de -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: i686-pc-linux-gnu PHP Version: 4CVS-2002-08-01 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Previous Comments: ------------------------------------------------------------------------ [2002-08-01 14:14:00] alberty@neptunelabs.de Hi, the new __function__ and __class__ constants results allways lowercase function and class names, although the names contains upper case chars. <?php class MyObject{ function FooBar(){ return array(__class__,__function__); } } print_r(MyObject::FooBar()); ?> results myobject and foobar instead of MyObject and FooBar. Regards, Steve ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18690&edit=1

« previous php.bugs (#15776) next »