diff --git a/reference/errorfunc/functions/trigger-error.xml b/reference/errorfunc/functions/trigger-error.xml index 1951212cde..0959453d7f 100644 --- a/reference/errorfunc/functions/trigger-error.xml +++ b/reference/errorfunc/functions/trigger-error.xml @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ Description - voidtrigger_error + booltrigger_error stringerror_msg interror_type @@ -22,6 +22,10 @@ (set_error_handler). It only works with the E_USER family of constants, and will default to E_USER_NOTICE. + + This function returns &false; if wrong error_type is + specified, &true; otherwise. + This function is useful when you need to generate a particular response to an exception at runtime.