3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mkis3=array(arrya('name'=>'Olga', 'variant'=>25), arrya('name'=>'Vasya', 'variant'=>12)); for ($i=0, $size=sizeof($mkis3); $i<size;++$i) { $people[$i]['variant']=rand(1,30); echo $people[$i]['variant']."\n"; } ?>

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.00.0030.05020.20
5.6.160.0100.04720.52
5.6.150.0100.05318.15
5.6.140.0100.06718.17
5.6.130.0030.08318.28
5.6.120.0070.04321.03
5.6.110.0000.09021.00
5.6.100.0130.07720.98
5.6.90.0070.06320.99
5.6.80.0070.06320.52
5.5.300.0170.04317.98
5.5.290.0100.05018.04
5.5.280.0030.05320.73
5.5.270.0030.04320.86
5.5.260.0000.09320.67
5.5.250.0100.08020.77
5.5.240.4200.03020.18

preferences:
141.82 ms | 1398 KiB | 7 Q