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); ?>

user_error

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

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

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

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

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

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:

error_reporting

(PHP 4, PHP 5, PHP 7) Sets which PHP errors are reported int error_reporting ([ int $level ] ) The error_reporting() function sets the error_reporting directive at runtime. PHP has many levels of errors, using this function sets that level for the duration (runtime) of your script. If the optional level is not set, error_reporting() will just return the current error reporting level. Parameters:

error_log

(PHP 4, PHP 5, PHP 7) Send an error message to the defined error handling routines bool error_log ( string $message [, int $message_type = 0 [, string $destination [, string $extra_headers ]]] ) Sends an error message to the web server's error log or to a file. Parameters: message The error message that should be logged. message_type S

error_get_last

(PHP 5 >= 5.2.0, PHP 7) Get the last occurred error array error_get_last ( void ) Gets information about the last error that occurred. Returns: Returns an associative array describing the last error with keys "type", "message", "file" and "line". If the error has been caused by a PHP internal function then the "message" begins with its name. Returns NULL if there hasn't been an error yet.