From: Tomas V.V.Cox Date: Thu, 10 Jul 2003 11:35:37 +0000 (+0000) Subject: Expose PHP errors on error callback function X-Git-Tag: BEFORE_ARG_INFO~290 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8c7c27b93abf5e71313ba96e111d081a3ce88355;p=php Expose PHP errors on error callback function --- diff --git a/pear/PEAR.php b/pear/PEAR.php index 5305537fb1..ec98d5576f 100644 --- a/pear/PEAR.php +++ b/pear/PEAR.php @@ -769,7 +769,7 @@ class PEAR_Error is_object($this->callback[0]) && is_string($this->callback[1]) && strlen($this->callback[1])) { - @call_user_func($this->callback, $this); + call_user_func($this->callback, $this); } } if (PEAR_ZE2 && $this->mode & PEAR_ERROR_EXCEPTION) {