From: George Schlossnagle Date: Fri, 7 Oct 2005 15:05:06 +0000 (+0000) Subject: Test simple derivation from restriction. X-Git-Tag: php-5.1.0RC2~74 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1f7c9e197c87b914f9e52309925377e525a303e2;p=php Test simple derivation from 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