apache_child_terminate() will terminate the Apache process executing the current PHP request once it is completed. It may be used to terminate a process after a script with high memory consumption has been run as memory will usually only be freed internally but not given back to the operating system.
See also exit().