Home
PHP
Tags
PHP Tutorial
Latest Articles
English
English
简体中文
中文(繁體)
日本語
한국어
Français
Deutsch
မြန်မာဘာသာ
Current Location:
Home
>
Function Categories
>
exit
exit
Output a message and exit the current script
Name:
exit
Category:
Miscellaneous
Programming Language:
php
One-line Description:
Print a message and exit the current script.
Related
Does PHP exit conflict with ob_end_flush()? A Detailed Compatibility Analysis
3
How to Properly Use the exit() Function When Handling PHP Form Errors
3
How to Prevent Accidental Exit Function Calls from Interrupting PHP Files
1
How to Use exit to Print Debug Information? Can You View Logs When PHP Script is Terminated?
6
What Are Common Mistakes When Using the exit Function? How Can PHP Beginners Avoid Them?
1
How to Output Error Messages and Immediately Stop a Program Using the exit Function in PHP
2
Similar Functions
time_sleep_until
time_sleep_until
Makethescriptsleepun
__halt_compiler
__halt_compiler
Interruptthecompiler
sapi_windows_vt100_support
sapi_windows_vt100_support
GetsorsetsVT100suppo
define
define
Defineaconstant
show_source
show_source
Aliasofhighlight_f
exit
exit
Outputamessageandexi
sapi_windows_cp_set
sapi_windows_cp_set
Settingupprocesscode
ignore_user_abort
ignore_user_abort
Setwhethertheexecuti
Popular Articles
How to Prevent Accidental Exit Function Calls from Interrupting PHP Files
What Are Common Mistakes When Using the exit Function? How Can PHP Beginners Avoid Them?
How to Output Error Messages and Immediately Stop a Program Using the exit Function in PHP
How to Properly Use the exit() Function When Handling PHP Form Errors
Does PHP exit conflict with ob_end_flush()? A Detailed Compatibility Analysis
How to Use exit to Print Debug Information? Can You View Logs When PHP Script is Terminated?