restore_error_handler

(PHP 4 >= 4.0.1, PHP 5, PHP 7) Restores the previous error handler function bool restore_error_handler ( void ) Used after changing the error handler function using set_error_handler(), to revert to the previous error handler (which could be the built-in or a user defined function). Returns: This function always returns TRUE. Examples:

restore_exception_handler

(PHP 5, PHP 7) Restores the previously defined exception handler function bool restore_exception_handler ( void ) Used after changing the exception handler function using set_exception_handler(), to revert to the previous exception handler (which could be the built-in or a user defined function). Returns: This function always returns TRUE. Exampl

set_error_handler

(PHP 4 >= 4.0.1, PHP 5, PHP 7) Sets a user-defined error handler function mixed set_error_handler ( callable $error_handler [, int $error_types = E_ALL | E_STRICT ] ) Sets a user function (error_handler) to handle errors in a script. This function can be used for defining your own way of handling errors during runtime, for example in applications in which you need to do cleanup of data/files when a critical error happe

set_exception_handler

(PHP 5, PHP 7) Sets a user-defined exception handler function callable set_exception_handler ( callable $exception_handler ) Sets the default exception handler if an exception is not caught within a try/catch block. Execution will stop after the exception_handler is called. Parameters: exception_handler Name of the function to be called when an uncaught exception occurs

trigger_error

(PHP 4 >= 4.0.1, PHP 5, PHP 7) Generates a user-level error/warning/notice message bool trigger_error ( string $error_msg [, int $error_type = E_USER_NOTICE ] ) Used to trigger a user error condition, it can be used in conjunction with the built-in error handler, or with a user defined function that has been set as the new error handler (set_error_handler()). This function is useful when you need to generate a particul

user_error

(PHP 4, PHP 5, PHP 7) Alias of trigger_error() This function is an alias of: trigger_error().

inclued_get_data

(PECL inclued >= 0.1.0) Get the inclued data array inclued_get_data ( void ) Get the inclued data. Returns: The inclued data. Examples: inclued_get_data() example See the inclued examples section for ways to create graphs with this data. <?php  include 'x.php'; $clue = inclued_get_data(); print_r($clue); ?>

opcache_compile_file

(PHP 5 >= 5.5.5, PHP 7, PECL ZendOpcache > 7.0.2) Compiles and caches a PHP script without executing it boolean opcache_compile_file ( string $file ) This function compiles a PHP script and adds it to the opcode cache without executing it. This can be used to prime the cache after a Web server restart by pre-caching files that will be included in later requests. Parameters: file

opcache_get_configuration

(PHP 5 >= 5.5.5, PHP 7, PECL ZendOpcache > 7.0.2) Get configuration information about the cache array opcache_get_configuration ( void ) This function returns configuration information about the cache instance Returns: Returns an array of information, including ini, blacklist and version Exception: If opcache.restrict_api is in use and the current path is in

opcache_get_status

(PHP 5 >= 5.5.5, PHP 7, PECL ZendOpcache > 7.0.2) Get status information about the cache array opcache_get_status ([ boolean $get_scripts = TRUE ] ) This function returns state information about the cache instance Parameters: get_scripts Include script specific state information Returns: Returns an array of information, optionally containi