3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $input = '<key><subKey>value</subKey></key>'; $xml = simplexml_load_string($input); print_r(var_dump(empty($xml->subKey)));
based on Av3s0