From: foobar Date: Wed, 21 Jan 2004 03:17:07 +0000 (+0000) Subject: test for bug #26976 X-Git-Tag: php_ibase_before_split~68 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4716c724d2a2151e50362c6d1186933f0b08a9db;p=php test for bug #26976 --- diff --git a/ext/simplexml/tests/bug26976.phpt b/ext/simplexml/tests/bug26976.phpt new file mode 100644 index 0000000000..c3e8385322 --- /dev/null +++ b/ext/simplexml/tests/bug26976.phpt @@ -0,0 +1,28 @@ +--TEST-- +Bug #26976 (Can not get array elements) +--SKIPIF-- + +--FILE-- + + + a + b + c + d + +'); + +echo $root->child[0], "\n"; +echo $root->child[1], "\n"; +echo $root->child[2], "\n"; +echo $root->child[3], "\n"; + +?> +--EXPECT-- +a +b +c +d