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