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?
Thanks
Khai
I think you can override any core function by messing with the internals
(though I could be wrong). But then you have to maintain that patch for
your code to work in the various versions that you run/move to.
Is this a good idea - in my humble opinion - NO! Personally I would try
to either find a different way to do whatever it is you are doing or
find a workaround. Just because you can do it - doesn't mean you should.
--
life is a game... so have fun.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php