|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-10-08 00:08 UTC] felipe@php.net
-Status: Open
+Status: Bogus
[2010-10-08 00:08 UTC] felipe@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 03 10:00:01 2025 UTC |
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" }