<?php $source = <<<DATA <rows> <item> <e>E</e> <f>F</f> </item> </rows> DATA; $xml = simplexml_load_string($source); $result = array_values(json_decode(json_encode($xml), true)); var_dump($result);
You have javascript disabled. You will not be able to edit any code.