From b02bfa1fd25748b904624c63997a703d1d7aaa15 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Tue, 20 Jul 2004 09:44:50 +0000 Subject: [PATCH] Returns bool (bug #29273) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@163723 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/errorfunc/functions/trigger-error.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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.