PEAR.php
authorAlan Knowles <alan@roojs.com>
Tue, 3 Jun 2014 05:07:18 +0000 (13:07 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 3 Jun 2014 05:07:18 +0000 (13:07 +0800)
PEAR.php

index d1278a4..cad27f4 100644 (file)
--- a/PEAR.php
+++ b/PEAR.php
@@ -300,7 +300,7 @@ class PEAR
      *
      * @since PHP 4.0.5
      */
-    function setErrorHandling($mode = null, $options = null)
+    static function setErrorHandling($mode = null, $options = null)
     {
         //if (isset($this) && is_a($this, 'PEAR')) {
         //    $setmode     = &$this->_default_error_mode;