Re: override core function
| From: | Robert Cummings | Date: | Wed, 02 Aug 2006 19:56:33 +0000 |
| Subject: | Re: override core function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-240017@lists.php.net to get a copy of this message | ||
On Wed, 2006-08-02 at 12:26 -0700, Khai wrote:
> Is it possible to override the core built-in function exit() in PHP. If
> so, how can I call the the built-in exit() from within my function?
No, but the following might help you:
http://www.php.net/register_shutdown_function
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'