From: George Schlossnagle Date: Fri, 7 Oct 2005 15:06:09 +0000 (+0000) Subject: Test simple derivation via restriction X-Git-Tag: RELEASE_0_9_1~200 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=031573326497eca68093cbab5893754b95b86362;p=php Test simple derivation via restriction --- diff --git a/ext/soap/tests/schema/schema081.phpt b/ext/soap/tests/schema/schema081.phpt new file mode 100644 index 0000000000..81f648b7c4 --- /dev/null +++ b/ext/soap/tests/schema/schema081.phpt @@ -0,0 +1,30 @@ +--TEST-- +SOAP XML Schema 81: Deriviation by restriction from acomplex type +--SKIPIF-- + +--FILE-- + + + + + + + + + + +EOF; +test_schema($schema,'type="tns:testType"',(object)array("int"=>123.5)); +echo "ok"; +?> +--EXPECTF-- + +123 +object(stdClass)#%d (2) { + ["int"]=> + int(123) +} +ok