--TEST-- SOAP XML Schema 35: Nested complex types (element ref + anonymous type) --SKIPIF-- --FILE-- EOF; test_schema($schema,'type="tns:testType"',(object)array("int"=>123.5,"testType2"=>array("int"=>123.5))); echo "ok"; ?> --EXPECTF-- 123123 object(stdClass)#%d (2) { ["int"]=> int(123) ["testType2"]=> object(stdClass)#%d (1) { ["int"]=> int(123) } } ok