public static function __callStatic($method, $arguments) { if (!isset(self::$bivalentMethods[$method])) { trigger_error('Call to undefined method PEAR::' . $method . '()', E_USER_ERROR); } return call_user_func_array(array( __CLASS__, '_' . $method, ), array_merge(array( null, ), $arguments)); }