--TEST-- SOAP XML Schema 51: Array in complex type (maxOccurs > 1, array) --SKIPIF-- --FILE-- EOF; test_schema($schema,'type="tns:testType"',(object)array("int"=>123.5,"int2"=>array(123.5,456.7))); echo "ok"; ?> --EXPECTF-- 123123456 object(stdClass)#%d (2) { ["int"]=> int(123) ["int2"]=> array(2) { [0]=> int(123) [1]=> int(456) } } ok