3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = rand(1337,2600)42; $b = rand(1879,1955)42; $a < $b ? $a ^= $b ^= $a ^= $b : $a = $b; echo $a+$b;

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.2.10.0260.00917.65
7.2.00.0270.01017.38
7.1.130.0270.01316.52
7.1.120.0410.00716.50
7.1.110.0200.01415.87
7.1.100.0290.00315.61
7.1.90.0500.01616.11
7.1.80.0330.00715.54
7.1.70.0330.00314.83
7.1.60.0310.01633.11
7.1.50.0440.00732.93
7.1.40.0440.00632.51
7.1.30.0520.01632.48
7.1.20.0440.00732.49
7.1.10.0300.00714.39
7.1.00.0280.00614.71

preferences:
141.5 ms | 1394 KiB | 7 Q