手册上有讲:
如果在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."