<?php $foo = simplexml_load_string('<foo><bar baz="quux">hello</bar> world<![CDATA[!]]></foo>'); echo (string)$foo, "\n"; echo (string)$foo->bar, "\n"; echo (string)$foo->bar['baz'], "\n";
You have javascript disabled. You will not be able to edit any code.