Edit File: simple.phpt
--TEST-- Use multiple nodes with identical names as children of <root>. --FILE-- <?php require_once '../Transmogrifier.php'; $data = json_decode('{"count":1,"truncated":false}', true); echo Transmogrifier::to_xml($data); ?> --EXPECT-- <?xml version="1.0"?> <root> <count>1</count> <truncated><![CDATA[false]]></truncated> </root>
Back to File Manager