Home  >  Article  >  Backend Development  >  PHP的几个程序停止关键字break,return,exit

PHP的几个程序停止关键字break,return,exit

WBOY
WBOYOriginal
2016-06-13 13:13:49983browse

PHP的几个程序终止关键字break,return,exit
break是中断语句执行,return是中断函数的执行,exit是中断整个php程序的执行。

Statement:
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