3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $doc = new DOMDocument("1.0"); $node = $doc->createElement("select"); $newnode = $doc->appendChild($node); $newnode->setAttribute("removed", ''); var_dump($doc->saveHTML());
based on CQ7CU
Output for 5.6.0 - 7.3.0
string(29) "<select removed=""></select> "