Re: exit function
| From: | Rasmus Lerdorf | Date: | Thu, 19 Oct 2000 22:21:56 +0000 |
| Subject: | Re: exit function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-21288@lists.php.net to get a copy of this message | ||
> I know in C/C++ you can designate a function to run if a program gets
> killed on some way or another (for cleanup reasons). Is there a way to
> do this with a shell PHP script?
See register_shutdown_function()
-Rasmus