LXI. Miscellaneous Functions
Runtime Configuration
The behaviour of these functions is affected by settings in php.ini.
Table 1. Misc. Configuration Options
NameDefaultChangeableignore_user_abort"0"PHP_INI_ALLhighlight.string#DD0000PHP_INI_ALLhighlight.comment#FF9900PHP_INI_ALLhighlight.keyword#007700PHP_INI_ALLhighlight.bg#FFFFFFPHP_INI_ALLhighlight.default#0000BBPHP_INI_ALLhighlight.html#000000PHP_INI_ALLbrowscapNULLPHP_INI_SYSTEMHere's a short explanation of the configuration directives.
ignore_user_abort
boolean
TRUE by default. If changed to FALSE scripts will be terminated as soon as they try to output something after a client has aborted their connection.
See also ignore_user_abort().
highlight.comment string, highlight.default string, highlight.html string, highlight.keyword string, highlight.string stringColors for Syntax Highlighting mode. Anything that's acceptable in <font color="??????"> would work.
browscap stringName (e.g.: browscap.ini) and location of browser capabilities file. See also get_browser().
Table of Contents
connection_aborted -- Returns
TRUE
if client disconnectedconnection_status -- Returns connection status bitfieldconnection_timeout -- Return
TRUE
if script timed outconstant -- Returns the value of a constantdefine -- Defines a named constant.defined -- Checks whether a given named constant existsdie -- Equivalent to
exit()
eval -- Evaluate a string as PHP codeexit -- Output a message and terminate the current scriptget_browser -- Tells what the user's browser is capable ofhighlight_file -- Syntax highlighting of a filehighlight_string -- Syntax highlighting of a stringignore_user_abort -- Set whether a client disconnect should abort script executionpack -- Pack data into binary string.show_source -- Alias of
highlight_file()
sleep -- Delay executionuniqid -- Generate a unique IDunpack -- Unpack data from binary stringusleep -- Delay execution in microseconds



