PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

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