Home » Web Services » SOAP » Bug #7601
Complex array types problem
Details
| Submitted | 2006-05-11 06:58 UTC |
|---|---|
| From | sn8p at mail dot ru |
| Assigned | yunosh |
| Status | Closed |
| Package | SOAP |
| PHP Version | 5.0.5 |
| OS | Free 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'));
}