3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $doc_test = '001.xml'; var_dump(xmlwriter_open_memory($doc_test));
based on 15PtY
Output for 5.2.3 - 7.1.0
resource(4) of type (xmlwriter)
Output for 5.1.2 - 5.2.2
resource(1) of type (xmlwriter)
Output for 5.0.0 - 5.1.1
Fatal error: Call to undefined function xmlwriter_open_memory() in /in/3OQc0 on line 4
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: xmlwriter_open_memory() in /in/3OQc0 on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: xmlwriter_open_memory() in /in/3OQc0 on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: xmlwriter_open_memory() in /in/3OQc0 on line 4