PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Web Services » SOAP » Bug #1492

__call function gets wrong number of parameters

Details

Submitted2004-05-25 12:35 UTC
Frombart at mediawave dot nl
Assignedarnaud
StatusClosed
PackageSOAP
PHP Version5.0.0RC2 (Release Candidate 2)
OSWin2K
Roadmaps(Not assigned)

Comments

[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. :)