Hướng dẫn stop php
(PHP 4, PHP 5, PHP 7, PHP 8) exit — Output a message and terminate the current script Descriptionexit(string exit(int
Parametersstatus If If Return ValuesNo value is returned. ExamplesExample #1
= '/path/to/data-file'; Example #2
Example #3 Shutdown functions and destructors run regardless
shutdown() The above example will output: Shutdown: shutdown() Destruct: Foo::__destruct() dexen dot devries at gmail dot com ¶ 11 years ago
if (SOME_EXIT_CONDITION) albert at removethis dot peschar dot net ¶ 13 years ago
theonenkl at gmail dot com ¶ 7 years ago
"In try, exiting\n"; vincent dot laag at gmail dot com ¶ 12 years ago
void a t informance d o t info ¶ 13 years ago
emils at tvnet dot lv ¶ 19 years ago
m dot libergolis at gmail dot com ¶ 7 years ago
sunfundev at gmail dot com ¶ 5 years ago
B alexyam at live dot com ¶ 10 years ago
devinemke at devinemke dot com ¶ 20 years ago
|