- var_dump: documentation ( source)
- simplexml_load_string: documentation ( source)
<?php
var_dump(simplexml_load_string('<root>
<text name="123" value="123"/>
<fql name="">
</fql>
<dataset>
<group>
<control-group id="0 - dD" name="">
<control id="1 - Name"/>
</control-group>
</group>
</dataset>
</root>'));