From: Greg Beaver Date: Wed, 17 Aug 2005 21:44:32 +0000 (+0000) Subject: re-enable XML_RPC 1.4.0 X-Git-Tag: php-4.4.1RC1~58 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=890a2fc39723a6eb0bb2106aa0224fcdb66e1df8;p=php re-enable XML_RPC 1.4.0 add return by ref from PEAR::raiseError --- diff --git a/pear/PEAR.php b/pear/PEAR.php index fa89ea56d4..6e1892d66f 100644 --- a/pear/PEAR.php +++ b/pear/PEAR.php @@ -492,7 +492,7 @@ class PEAR * @see PEAR::setErrorHandling * @since PHP 4.0.5 */ - function raiseError($message = null, + function &raiseError($message = null, $code = null, $mode = null, $options = null, @@ -537,9 +537,11 @@ class PEAR $ec = 'PEAR_Error'; } if ($skipmsg) { - return new $ec($code, $mode, $options, $userinfo); + $a = &new $ec($code, $mode, $options, $userinfo); + return $a; } else { - return new $ec($message, $code, $mode, $options, $userinfo); + $a = &new $ec($message, $code, $mode, $options, $userinfo); + return $a; } } @@ -553,14 +555,16 @@ class PEAR * @param string $message * */ - function throwError($message = null, + function &throwError($message = null, $code = null, $userinfo = null) { if (isset($this) && is_a($this, 'PEAR')) { - return $this->raiseError($message, $code, null, null, $userinfo); + $a = &$this->raiseError($message, $code, null, null, $userinfo); + return $a; } else { - return PEAR::raiseError($message, $code, null, null, $userinfo); + $a = &PEAR::raiseError($message, $code, null, null, $userinfo); + return $a; } } diff --git a/pear/go-pear-list.php b/pear/go-pear-list.php index 881fcf616b..4e07fb3738 100755 --- a/pear/go-pear-list.php +++ b/pear/go-pear-list.php @@ -8,9 +8,9 @@ $packages = array( // required packages for the installer "PEAR" => "1.3.5", -"XML_RPC" => "1.3.1", +"XML_RPC" => "1.4.0", "Console_Getopt" => "1.2", -"Archive_Tar" => "1.3.1", +"Archive_Tar" => "1.3.2", // required packages for the web frontend "PEAR_Frontend_Web" => "0.4", diff --git a/pear/package-PEAR.xml b/pear/package-PEAR.xml index 6aa1690033..190f680097 100644 --- a/pear/package-PEAR.xml +++ b/pear/package-PEAR.xml @@ -48,14 +48,13 @@ - 1.3.5 - 2005-02-18 + 1.3.6 + 2005-08-17 stable PHP License - * fix Bug #3505: pecl can't install PDO - * enhance pear run-tests dramatically - * fix Bug #3506: pear install should export the pear version into the environment + * Bump XML_RPC dependency to 1.4.0 + * return by reference from PEAR::raiseError() @@ -124,7 +123,7 @@ Archive_Tar Console_Getopt - XML_RPC + XML_RPC xml pcre @@ -197,5 +196,15 @@ Other: * make pear help listing more useful (put how-to-use info at the bottom of the listing) + + 1.3.5 + 2005-02-18 + stable + + * fix Bug #3505: pecl can't install PDO + * enhance pear run-tests dramatically + * fix Bug #3506: pear install should export the pear version into the environment + +