Is there a way to have PHP run a subroutine at the end of the script's execution? I don't mean just putting a call to a function at the end of the file, but something like a hook into php
[dream world]
PHPEnd('savesettings');
[/dream world]
would call savesettings() after the script was done with everything else..
I doubt that there is a way to do this, but I can still hope that I missed it when I read over the manual.