PHP miscellaneous functions, php miscellaneous functions
Function |
Description |
Connection_aborted () |
Check whether the client is disconnected. |
Connection_status () |
Returns the current connection status. |
Connection_timeout () |
PHP 4.0.5 does not support this function. |
Constant () |
Returns the value of a constant. |
Define () |
Defines a constant. |
Defined () |
Check whether a constant exists. |
Die () |
Output a message and exit the current script. |
Eval () |
Calculate the string according to the PHP code. |
Exit () |
Output a message and exit the current script. |
Get_browser () |
Returns the performance of your browser. |
Highlight_file () |
Highlight the syntax of the file. |
Highlight_string () |
Highlight the syntax of the string. |
Ignore_user_abort () |
Set whether to terminate the script execution when the client is disconnected. |
Pack () |
Load data into a binary string. |
Php_check_syntax () |
PHP 5.0.5 does not support this function. |
Php_strip_whitespace () |
Returns the source code file that has deleted the PHP comments and blank characters. |
Show_source () |
The alias of highlight_file. |
Sleep () |
Code execution is delayed for several seconds. |
Time_nanosleep () |
The code execution is delayed for several seconds and the waiting time is seconds. |
Time_sleep_until () |
The specified time for code execution to be delayed. |
Uniqid () |
Generate a unique ID. |
Unpack () |
Unpacks data from binary strings. |
Usleep () |
Several microseconds of code execution are delayed. |