笑故挽风 2009-11-25 06:28 采纳率: 100%
浏览 668

在 PHP 中 die ()和 exit ()有什么区别?

What are the differences between die() and exit() functions in PHP?

I think both have the same functionality, but I doubt there is something different in both... what is it?

转载于:https://stackoverflow.com/questions/1795025/what-are-the-differences-in-die-and-exit-in-php

  • 写回答

17条回答 默认 最新

  • ℙℕℤℝ 2009-11-25 06:30
    关注

    There's no difference - they are the same.

    PHP Manual for exit:

    Note: This language construct is equivalent to die().

    PHP Manual for die:

    This language construct is equivalent to exit().

    评论

报告相同问题?

悬赏问题

  • ¥15 matlab有关常微分方程的问题求解决
  • ¥15 perl MISA分析p3_in脚本出错
  • ¥15 k8s部署jupyterlab,jupyterlab保存不了文件
  • ¥15 ubuntu虚拟机打包apk错误
  • ¥199 rust编程架构设计的方案 有偿
  • ¥15 回答4f系统的像差计算
  • ¥15 java如何提取出pdf里的文字?
  • ¥100 求三轴之间相互配合画圆以及直线的算法
  • ¥100 c语言,请帮蒟蒻写一个题的范例作参考
  • ¥15 名为“Product”的列已属于此 DataTable