cvs: php-src /ext/simplexml/tests bug26976.phpt

From: Date: Wed, 21 Jan 2004 03:17:08 +0000
Subject: cvs: php-src /ext/simplexml/tests bug26976.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-25783@lists.php.net to get a copy of this message
sniper Tue Jan 20 22:17:08 2004 EDT Added files: /php-src/ext/simplexml/tests bug26976.phpt Log: test for bug #26976 http://cvs.php.net/co.php/php-src/ext/simplexml/tests/bug26976.phpt?r=1.1&p=1 Index: php-src/ext/simplexml/tests/bug26976.phpt +++ php-src/ext/simplexml/tests/bug26976.phpt --TEST-- Bug #26976 (Can not get array elements) --SKIPIF-- <?php if (!extension_loaded("simplexml")) print "skip simplexml extension is not loaded"; ?> --FILE-- <?php $root = simplexml_load_string( '<?xml version="1.0"?> <root> <child>a</child> <child>b</child> <child>c</child> <child>d</child> </root> '); 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

« previous php.cvs (#25783) next »