3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $dom = new DOMDocument('1.0','utf-8'); $node1 = $dom->createElement('osef','blblblbl'); $dom->appendChild($node1); $stream = $dom->saveXML(); $isResource = is_resource($stream); echo $isResource; echo "blblbl";
based on e6VM4
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.0alpha1
blblbl