From: Marcus Boerger Date: Sun, 26 Oct 2003 13:27:26 +0000 (+0000) Subject: Add attribute test X-Git-Tag: RELEASE_2_0_0RC1~75 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7e906476117df84ae22d498b935ec3531c62ae57;p=php Add attribute test --- diff --git a/ext/simplexml/tests/007.phpt b/ext/simplexml/tests/007.phpt new file mode 100755 index 0000000000..0d1f14e4af --- /dev/null +++ b/ext/simplexml/tests/007.phpt @@ -0,0 +1,19 @@ +--TEST-- +SimpleXML and attributes +--SKIPIF-- + +--FILE-- +id); +var_dump($sxe->elem1->attr1); + +echo "===Done===\n"; + +?> +--EXPECT-- +string(5) "elem1" +string(5) "first" +===Done===