Documentation

ErrorHandler
in package

Convert PHP errors into exceptions

Tags
author

Artem Lopata biozshock@gmail.com

Table of Contents

$io  : mixed
handle()  : bool
Error handler
register()  : mixed
Register error handler.

Properties

Methods

handle()

Error handler

public static handle(int $level, string $message, string $file, int $line) : bool
Parameters
$level : int

Level of the error raised

$message : string

Error message

$file : string

Filename that the error was raised in

$line : int

Line number the error was raised at

Tags
static
throws
ErrorException
Return values
bool

Search results