Edit report at http://bugs.php.net/bug.php?id=52994&edit=1
ID: 52994 Updated by: fel...@php.net Reported by: sietse dot au at gmail dot com Summary: vardump of child in SimpleXMLElement is incorrect -Status: Open +Status: Bogus Type: Bug Package: SimpleXML related PHP Version: 5.3.3 Block user comment: N New Comment: Related to bug #52463 Previous Comments: ------------------------------------------------------------------------ [2010-10-05 23:34:31] sietse dot au at gmail dot com Description: ------------ vardump of child in SimpleXMLElement is incorrect Test script: --------------- $obj = new SimpleXMLElement('<root> <a>1.9</a> <a>2.1</a> </root>'); var_dump($obj->a); Expected result: ---------------- object(SimpleXMLElement)#5 (1) { [0]=> string(3) "1.9" [1]=> string(3) "2.1" } Actual result: -------------- object(SimpleXMLElement)#5 (1) { [0]=> string(3) "1.9" } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=52994&edit=1