Class Debug
Methods summary
public static
shutdown_handler( void )
Stores logged messages in the session and report fatal errors.
public static
error_handler( integer $no, string $str, string $file, integer $line, array $context )
Handles errors.
public static
format_code_sample( string $file, integer $line = 0 )
: string
Extracts and formats a code sample around the line that triggered the alert.