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
connection_aborted
connection_aborted
Checkiftheclientisdi
sapi_windows_cp_conv
sapi_windows_cp_conv
Convertstringsfromon
show_source
show_source
Aliasofhighlight_f
time_nanosleep
time_nanosleep
Delayexecutionforsev
die
die
Equivalenttoexit()
sapi_windows_cp_is_utf8
sapi_windows_cp_is_utf8
Indicateswhetherthec
sleep
sleep
Delayedexecution
highlight_string
highlight_string
Stringsyntaxhighligh
Popular Articles
How to Prevent Accidental Exit Function Calls from Interrupting PHP Files
How to Use exit to Print Debug Information? Can You View Logs When PHP Script is Terminated?
What Are Common Mistakes When Using the exit Function? How Can PHP Beginners Avoid Them?
How to Properly Use the exit() Function When Handling PHP Form Errors
How to Output Error Messages and Immediately Stop a Program Using the exit Function in PHP
Does PHP exit conflict with ob_end_flush()? A Detailed Compatibility Analysis