问题:
What are the differences between die()
and exit()
functions in PHP? PHP中die()
和exit()
函数之间有什么区别?
I think both have the same functionality, but I doubt there is something different in both... what is it? 我认为两者具有相同的功能,但是我怀疑两者之间是否存在某些差异……这是什么?
解决方案:
参考一: https://stackoom.com/question/7Wy1/PHP中die-和exit-有什么区别
参考二: https://oldbug.net/q/7Wy1/What-are-the-differences-in-die-and-exit-in-PHP