note 59218 added to function.runkit-import
| From: | bbisgod | Date: | Tue, 29 Nov 2005 19:19:59 +0000 |
| Subject: | note 59218 added to function.runkit-import | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-99319@lists.php.net to get a copy of this message | ||
I was experiencing problems using this function on a script. I discovered through trial and error
that you CANNOT reload a function (or method of a class) if it has been called (e.g, its present in
the debug_backtrace). Also you cannot redeclare a function that is used by set_error_handler.
The reasons are logical, but it took me a good 2 days of debugging to find it, hope this saves
someone a headache.
----
Manual Page -- http://www.php.net/manual/en/function.runkit-import.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+59218
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+59218&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+59218&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+59218&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+59218&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+59218&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+59218&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+59218&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+59218&report=yes
Search -- http://master.php.net/manage/user-notes.php