3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new SimpleXMLElement( <<<XML <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <test> </test> XML; );

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)
7.0.20.0200.07320.33
7.0.10.0100.08720.10
7.0.00.0070.08320.12
5.6.170.0270.07020.55
5.6.160.0000.04320.51
5.6.150.0030.04318.18
5.6.140.0100.07318.12
5.6.130.0070.04018.28
5.6.120.0030.08721.05
5.6.110.0200.07020.98
5.6.100.0170.07720.95
5.6.90.0130.07721.00
5.6.80.0070.03720.52
5.5.310.0370.07020.41
5.5.300.0100.03718.07
5.5.290.0100.07718.07
5.5.280.0030.08720.61
5.5.270.0000.04320.89
5.5.260.0070.04320.73
5.5.250.0100.07720.58
5.5.240.0030.04020.01

preferences:
143.24 ms | 1394 KiB | 7 Q