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