Bug #17743: Implementation of __FUNC__ and __CLASS__

From: Date: Thu, 13 Jun 2002 14:04:52 +0000
Subject: Bug #17743: Implementation of __FUNC__ and __CLASS__
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10349@lists.php.net to get a copy of this message
From: stewart@nameless-uk.com Operating system: n/a PHP version: 4.2.1 PHP Bug Type: Feature/Change Request Bug description: Implementation of __FUNC__ and __CLASS__ Hi, Basically, this would follow along the same lines as __FILE__ and __LINE__, these macros would return the current function and class -- especially usefull for quick debugging of inherited classes. It would also be incredibly usefull to be able to get the details of the calling function, perhaps via __CALLING_*__, just to make add a more professional edge to custom classes. Keep up the good work! Stewart. -- Edit bug report at http://bugs.php.net/?id=17743&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17743&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17743&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17743&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17743&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17743&r=support Expected behavior: http://bugs.php.net/fix.php?id=17743&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17743&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17743&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17743&r=globals

« previous php.bugs (#10349) next »