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 #7601

Complex array types problem

Details

Submitted2006-05-11 06:58 UTC
Fromsn8p at mail dot ru
Assignedyunosh
StatusClosed
PackageSOAP
PHP Version5.0.5
OSFree BSD
Roadmaps(Not assigned)

Comments

[2006-05-11 06:58 UTC] sn8p at mail dot ru

Description:
------------
When I try to declare complex types I get the php error (Fatal error: Only variables can be passed by reference in /usr/local/bis/web/includes/PEAR/SOAP/WSDL.php on line 1970
), but in php 4.x its working.

Test script:
---------------
function MyServerClass()
{
$this->__dispatch_map['func1'] = array(
"in" => array("instr" => "{urn:MyServerClass}ArrayOfStrings"),
"out" => array("outstr" => "string")
);

$this->__typedef['ArrayOfStrings'] = array(array('item'=>'string'));
}