Actions
Feature #20750
closedEnhance t3lib_div::xml2array to handle multible tags with the same name and no index attribute
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-07-14
Due date:
% Done:
0%
Estimated time:
PHP Version:
4.3
Tags:
Complexity:
Sprint Focus:
Description
Currently xml2array isnt capble of handling xml structures like this:
<root>
<item>..</item>
<item>..</item>
</root>
it would be nice if xml2array would return something like:
[item] => Array
(
[0] => Array ....
[1] => Array ....
....
)
A working implementation can be found at:
http://www.bin-co.com/php/scripts/xml2array/
(issue imported from #M11523)
Files
Actions