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.90.0070.01017.09
8.5.80.0050.00417.03
8.5.70.0090.00918.83
8.5.60.0050.00318.89
8.4.240.0140.00819.84
8.4.230.0090.00119.79
8.4.220.0160.00421.62
8.4.90.0070.00220.17
8.3.320.0090.00818.83
8.3.180.0050.00418.84
8.3.50.0040.00418.89
8.2.320.0140.00718.17

preferences:
45.02 ms | 538 KiB | 5 Q