|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-08-01 19:13 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 07 07:00:01 2026 UTC |
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