Home > Backend Development > PHP Tutorial > 新手有关问题

新手有关问题

WBOY
Release: 2016-06-13 13:47:25
Original
666 people have browsed it

新手请教高手问题。
请问下高手,die()和exit()这两个函数有啥区别吗??我觉得这两个函数没有什么区别,都一样,是不是我不会使用呢?

------解决方案--------------------
互为别名,无区别!
------解决方案--------------------
king_2007 也叫 Engineer
------解决方案--------------------
互为别名,无区别!
------解决方案--------------------
exit() 函数作用是输出一条消息,并退出当前脚本,与die() 函数的互为别名。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template