NOVINKA: Najžiadanejšie rekvalifikačné kurzy teraz s 50% zľavou + kurz AI ZADARMO. Nečakaj, táto ponuka dlho nevydrží! Zisti viac:

PHP - handler

Trieda

Koreň \ Bez triedy

Metóda - handler

(PHP 4, PHP 5, PHP 7)

The function is used to define a user exception handler, meaning we can catch exceptions on the highest level when they'd cause the termination of the script otherwise. This function captures all the exceptions which are not captured in try-catch blocks. The execution of the script will stop after the function is called!

Note: The exception handler captures Exceptions only, not errors. For capturing errors, use the set_error_handler() function!

Procedurálne

Parametre

Žiadne

Mávratovej hodnoty

Vracia: bool

Príklady

Súvisiace manuály

      Aktivity