3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { libxml_use_internal_errors(true); $xml = simplexml_load_string('<?xml version="1.0"?><Pablo is="gay></Pablo>'); libxml_use_internal_errors(false); } catch (\Exception $e) { echo $e->getMessage(); }

preferences:
32.9 ms | 402 KiB | 5 Q