### Functions

## throw an exceptino containing error info

    custom_warning_handler(int $errno, string $errstr, string $errfile, int $errline, mixed $errcontext)

### Parameters

#### $errno

`int`

#### $errstr

`string`

#### $errfile

`string`

#### $errline

`int`

#### $errcontext

`mixed`

### Exceptions

`\Exception` |

### Classes and interfaces

# AmfphpErrorHandler¶

sets a custom error handler to catch notices and such and transform them to exceptions.

« More »