3v4l.org

run code in 500+ PHP versions simultaneously
<?php $dom = new \DOMDocument(); $dom->loadXML( '<svg><foreignObject><img></foreignObject><text>hi</text></svg>' ); echo $dom->saveXML();

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.5.80.0050.00417.03
8.5.70.0090.00918.83

preferences:
48.49 ms | 485 KiB | 5 Q