--TEST--
SOAP XML Schema 45: Restriction of simple type (2)
--EXTENSIONS--
soap
xml
--FILE--
EOF;
test_schema($schema,'type="tns:testType"',(object)array("_"=>123.5,"int"=>123.5,"int2"=>123.5));
echo "ok";
?>
--EXPECTF--
123
object(stdClass)#%d (2) {
["_"]=>
int(123)
["int2"]=>
int(123)
}
ok