Misc. Functions
Table of Contents
- 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 given named constant exists
- die — Equivalent to exit
- eval — Evaluate a string as PHP code
- exit — Output a message and terminate the current script
- 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_check_syntax — Check the PHP syntax of (and execute) the specified file
- 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 process codepage
- sapi_windows_cp_is_utf8 — Indicates whether the codepage is UTF-8 compatible
- sapi_windows_cp_set — Set process codepage
- 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 unique ID
- unpack — Unpack data from binary string
- usleep — Delay execution in microseconds
English translation
You have asked to visit this site in English. For now, only the interface is translated, but not all the content yet.If you want to help me in translations, your contribution is welcome. All you need to do is register on the site, and send me a message asking me to add you to the group of translators, which will give you the opportunity to translate the pages you want. A link at the bottom of each translated page indicates that you are the translator, and has a link to your profile.
Thank you in advance.
Document created the 30/01/2003, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/php-rf-ref.misc.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.