From bc81b2bc296d347894439cdb179e7c3b50f339cc Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Sat, 1 Nov 2008 06:11:19 +0000 Subject: [PATCH] Fixed #45628 (set_error_handler() return type wrongly documented) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268101 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/errorfunc/functions/set-error-handler.xml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/reference/errorfunc/functions/set-error-handler.xml b/reference/errorfunc/functions/set-error-handler.xml index 4b52311009..42601a77d3 100644 --- a/reference/errorfunc/functions/set-error-handler.xml +++ b/reference/errorfunc/functions/set-error-handler.xml @@ -1,5 +1,5 @@ - + set_error_handler @@ -157,10 +157,11 @@ &reftitle.returnvalues; - Returns a string containing the previously defined - error handler (if any), or &null; on error. If the previous handler - was a class method, this function will return an indexed array with - the class and the method name. + Returns a string containing the previously defined error handler (if any). If + the built-in error handler is used &null; is returned. &null is also returned + in case of an error such as an invalid callback. If the previous error handler + was a class method, this function will return an indexed array with the class + and the method name.