手册上有讲:
如果在register_shutdown_function函数中调用了exit(),进程将完全结束且不会再有register_shutdown_function函数被调用了"If you call exit() within one registered shutdown function, processing will stop completely and no other registered shutdown functions will be called."
如果在register_shutdown_function函数中调用了exit(),进程将完全结束且不会再有register_shutdown_function函数被调用了"If you call exit() within one registered shutdown function, processing will stop completely and no other registered shutdown functions will be called."
参考
connection_aborted(), and connection_status(). 这两个函数返回当前是认为中断还是自然结束