- var_dump: documentation ( source)
- xmlwriter_start_pi: documentation ( source)
- xmlwriter_open_memory: documentation ( source)
- xmlwriter_end_pi: documentation ( source)
- xmlwriter_flush: documentation ( source)
<?php
$xml = xmlwriter_open_memory();
xmlwriter_start_pi($xml, 'lol');
xmlwriter_end_pi($xml);
var_dump(xmlwriter_flush($xml));