--TEST-- SOAP Server 30: Handling classes which extend the SPL ArrayObject or ArrayIterator as arrays in wsdl mode --EXTENSIONS-- soap --INI-- soap.wsdl_cache_enabled=0 --FILE-- text = 'text'.$i; $items[] = $item; } return $items; } } $server = new SoapServer(__DIR__."/server030.wsdl"); $server->setClass('handlerClass'); $HTTP_RAW_POST_DATA = << EOF; $server->handle($HTTP_RAW_POST_DATA); echo "ok\n"; ?> --EXPECT-- text0text1text2text3text4text5text6text7text8text9 ok