Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

set_error_handler(): error_handler: parametri opzionali

3 views
Skip to first unread message

alex

unread,
Sep 14, 2020, 5:32:16 AM9/14/20
to
error_handler
A callback with the following signature. NULL may be passed instead, to
reset this handler to its default state. Instead of a function name, an
array containing an object reference and a method name can also be supplied.

handler ( int $errno , string $errstr [, string $errfile [, int $errline
[, array $errcontext ]]] ) : bool
Fonte: https://www.php.net/manual/en/function.set-error-handler.php

Una domanda:
Perchè i parametri $errfile, $errline, $errcontext devono essere opzionali?
0 new messages