From: Marcus Boerger Date: Sat, 17 Jan 2004 15:57:06 +0000 (+0000) Subject: Add test for inherited simplexml classes X-Git-Tag: php_ibase_before_split~162 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c2e37e89a2e89b19029807aa413ac830c500322;p=php Add test for inherited simplexml classes --- diff --git a/ext/simplexml/tests/010.phpt b/ext/simplexml/tests/010.phpt new file mode 100644 index 0000000000..628c945098 --- /dev/null +++ b/ext/simplexml/tests/010.phpt @@ -0,0 +1,47 @@ +--TEST-- +SimpleXML: Simple Inheritance +--SKIPIF-- + +--FILE-- + +--EXPECT-- +simplexml_inherited Object +( + [elem1] => simplexml_inherited Object + ( + [comment] => simplexml_inherited Object + ( + ) + + [elem2] => simplexml_inherited Object + ( + [elem3] => simplexml_inherited Object + ( + [elem4] => simplexml_inherited Object + ( + [test] => simplexml_inherited Object + ( + ) + + ) + + ) + + ) + + ) + +) +---Done---