Consider the scenario of a PHP script which can be run for a period of time, stopped, and continue its task later on. A common necessity for such a script may be to detect when the script is terminated, and perform some functions at that time. This can be accomplished by having the script capture… Continue reading Capturing Termination Signals in PHP