cvs: pear(ZEND_ENGINE_1) /SOAP Client.php
| From: | Arnaud Limbourg | Date: | Mon, 30 Aug 2004 17:12:39 +0000 |
| Subject: | cvs: pear(ZEND_ENGINE_1) /SOAP Client.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-23508@lists.php.net to get a copy of this message | ||
arnaud Mon Aug 30 13:12:39 2004 EDT
Modified files: (Branch: ZEND_ENGINE_1)
/pear/SOAP Client.php
Log:
* fix #1492 : make __call work under PHP5
http://cvs.php.net/diff.php/pear/SOAP/Client.php?r1=1.62.2.1&r2=1.62.2.2&ty=u
Index: pear/SOAP/Client.php
diff -u pear/SOAP/Client.php:1.62.2.1 pear/SOAP/Client.php:1.62.2.2
--- pear/SOAP/Client.php:1.62.2.1 Sun Aug 22 08:41:56 2004
+++ pear/SOAP/Client.php Mon Aug 30 13:12:39 2004
@@ -17,7 +17,7 @@
// | Authors: Dietrich Ayala <dietrich@ganx4.com> Original Author |
// +----------------------------------------------------------------------+
//
-// $Id: Client.php,v 1.62.2.1 2004/08/22 12:41:56 arnaud Exp $
+// $Id: Client.php,v 1.62.2.2 2004/08/30 17:12:39 arnaud Exp $
//
require_once 'SOAP/Value.php';
@@ -38,7 +38,7 @@
* originaly based on SOAPx4 by Dietrich Ayala http://dietrich.ganx4.com/soapx4
*
* @access public
- * @version $Id: Client.php,v 1.62.2.1 2004/08/22 12:41:56 arnaud Exp $
+ * @version $Id: Client.php,v 1.62.2.2 2004/08/30 17:12:39 arnaud Exp $
* @package SOAP::Client
* @author Shane Caraveo <shane@php.net> Conversion to PEAR and updates
* @author Stig Bakken <ssb@fast.no> Conversion to PEAR
@@ -322,7 +322,7 @@
* @return boolean
* @access public
*/
- function &__call($method, &$args, &$return_value)
+ function &__call($method, &$args, &$return_value = null)
{
// XXX overloading lowercases the method name, we
// need to look into the wsdl and try to find