Home > PHP > Extension > Misc.

Misc.

basic.other
  • connection_aborted () - Check whether client disconnected
  • connection_status () - Returns connection status bitfield
  • constant (name) - Returns the value of a constant
  • define (name, value, case_insensitive) - Defines a named constant
  • defined (name) - Checks whether a given named constant exists
  • Deprecated (name) - Check if the script timed out
  • die (name) - Equivalent to exit()
  • eval (code_str) - Evaluate a string as PHP code
  • exit (status, status, status, status) - Output a message and terminate the current script
  • get_browser (user_agent, return_array) - Tells what the user's browser is capable of
  • highlight_file (filename, return) - Syntax highlighting of a file
  • highlight_string (str, return) - Syntax highlighting of a string
  • ignore_user_abort (value) - Set whether a client disconnect should abort script execution
  • pack (format, args, ...) - Pack data into binary string
  • php_check_syntax (filename, error_message) - Check the PHP syntax of (and execute) the specified file
  • php_strip_whitespace (filename) - Return source with stripped comments and whitespace
  • show_source (filename) - Alias of highlight_file()
  • sleep (seconds) - Delay execution
  • sys_getloadavg (seconds) - Gets system load average
  • time_nanosleep (seconds, nanoseconds) - Delay for a number of seconds and nanoseconds
  • time_sleep_until (timestamp) - Make the script sleep until the specified time
  • uniqid (prefix, more_entropy) - Generate a unique ID
  • unpack (format, data) - Unpack data from binary string
  • usleep (micro_seconds) - Delay execution in microseconds
  • __halt_compiler (micro_seconds) - Halts the compiler execution