Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.14.0

Bug #1492 __call function gets wrong number of parameters
Submitted: 2004-05-25 12:35 UTC
From: bart at mediawave dot nl Assigned: arnaud
Status: Closed Package: SOAP
PHP Version: 5.0.0RC2 (Release Candidate 2) OS: Win2K
Roadmaps: (Not assigned)    
Subscription  


 [2004-05-25 12:35 UTC] bart at mediawave dot nl
Description: ------------ To get PEAR:SOAP to work in PHP 5 I had to make the following change in Client.php: function &__call($method, &$args, &$return_value) Change to: function &__call($method, &$args, &$return_value = '') It seems PHP5 doesn't use the return value var? I don't know. It just works now. :)

Comments

 [2004-08-30 17:13 UTC] arnaud
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better. In PHP5 the __call method only has two arguments. I've changed the code a little defaulting to null.