#18690 [NEW]: __function__ results allways lowercase names

From: Date: Thu, 01 Aug 2002 18:14:00 +0000
Subject: #18690 [NEW]: __function__ results allways lowercase names
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15758@lists.php.net to get a copy of this message
From: alberty@neptunelabs.de Operating system: i686-pc-linux-gnu PHP version: 4CVS-2002-08-01 PHP Bug Type: Scripting Engine problem Bug description: __function__ results allways lowercase names 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 bug report at http://bugs.php.net/?id=18690&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18690&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18690&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18690&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18690&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18690&r=support Expected behavior: http://bugs.php.net/fix.php?id=18690&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18690&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18690&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18690&r=globals

« previous php.bugs (#15758) next »