Better PHP Documentation
opinionated
Open main menu
Get Started
Documentation
Community
Training
Better PHP Documentation
Close menu
Get Started
Documentation
Community
Training
Log in
Change language:
English
German
Spanish
French
Italian
Japanese
Brazilian Portuguese
Russian
Turkish
Ukrainian
Chinese (Simplified)
Other
Miscellaneous Functions
Introduction
These functions were placed here because none of the other categories seemed to fit.
Installing/Configuring
Runtime Configuration
Predefined Constants
Misc. Functions
connection_aborted
β Check whether client disconnected
connection_status
β Returns connection status bitfield
constant
β Returns the value of a constant
define
β Defines a named constant
defined
β Checks whether a constant with the given name exists
die
β Alias of exit
eval
β Evaluate a string as PHP code
exit
β Terminate the current script with a status code or message
get_browser
β Tells what the user's browser is capable of
__halt_compiler
β Halts the compiler execution
highlight_file
β Syntax highlighting of a file
highlight_string
β Syntax highlighting of a string
hrtime
β Get the system's high resolution time
ignore_user_abort
β Set whether a client disconnect should abort script execution
pack
β Pack data into binary string
php_strip_whitespace
β Return source with stripped comments and whitespace
sapi_windows_cp_conv
β Convert string from one codepage to another
sapi_windows_cp_get
β Get current codepage
sapi_windows_cp_is_utf8
β Indicates whether the codepage is UTF-8 compatible
sapi_windows_cp_set
β Set process codepage
sapi_windows_generate_ctrl_event
β Send a CTRL event to another process
sapi_windows_set_ctrl_handler
β Set or remove a CTRL event handler
sapi_windows_vt100_support
β Get or set VT100 support for the specified stream associated to an output buffer of a Windows console.
show_source
β Alias of highlight_file
sleep
β Delay execution
sys_getloadavg
β Gets system load average
time_nanosleep
β Delay for a number of seconds and nanoseconds
time_sleep_until
β Make the script sleep until the specified time
uniqid
β Generate a time-based identifier
unpack
β Unpack data from binary string
usleep
β Delay execution in microseconds
Changelog
Found A Problem?
Learn How To Improve This Page
β’
Submit a Pull Request
β’
Report a Bug
οΌ
add a note
User Contributed Notes
There are no user contributed notes for this page.
0
pcntl_sigtimedwait
Waits for signals, with a timeout
0
similar_text
Calculate the similarity between two strings
0
boolval
Get the boolean value of a variable
0
curl_multi_close
Close a set of cURL handles
0
imap_body
Read the message body
0
mb_strpos
Find position of first occurrence of string in a string
0
pg_send_prepare
Sends a request to create a prepared statement with the given parameters, without waiting for completion
0
swoole_native_socket_bind
0
Arr::prependKeysWith
0
zend_version
Gets the version of the current Zend engine
^