2 function Test($param) {
4 ZendGoodExtSoapTestsBugsBug38055
::$g1 = $param->boolA
;
5 ZendGoodExtSoapTestsBugsBug38055
::$g2 = $param->boolB
;
9 class TestSoapClient
extends SoapClient
{
10 function __construct($wsdl) {
11 parent
::__construct($wsdl);
12 $this->server
= new SoapServer($wsdl);
13 $this->server
->addFunction('Test');
16 function __doRequest($request, $location, $action, $version, $one_way = 0) {
18 $this->server
->handle($request);
19 $response = ob_get_contents();
25 $client = new TestSoapClient(dirname(__FILE__
).'/bug38055.wsdl');
28 $res = $client->Test(array('boolA'=>$boolA, 'boolB'=>$boolB));
29 var_dump(ZendGoodExtSoapTestsBugsBug38055
::$g1);
30 var_dump(ZendGoodExtSoapTestsBugsBug38055
::$g2);
32 abstract final class ZendGoodExtSoapTestsBugsBug38055
{