note 6287 deleted from function_exists by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Sat, 23 Sep 2000 12:00:38 +0000 |
| Subject: | note 6287 deleted from function_exists by jmcastagnetto | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5432@lists.php.net to get a copy of this message | ||
To do an arror handler, I would need a way to get the function name: function func() { if ($error) {
handleError(get_function_name(); } }
I currently use __LINE__ and __FILE__ but it's not enough for me!