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.04720.17
5.6.160.0100.06320.55
5.6.150.0030.08718.29
5.6.140.0100.06718.28
5.6.130.0030.04018.14
5.6.120.0070.03720.97
5.6.110.0170.07320.96
5.6.100.0200.07021.08
5.6.90.0100.07020.97
5.6.80.0130.06720.38
5.5.300.0100.07317.98
5.5.290.0000.05718.03
5.5.280.0030.09020.73
5.5.270.0070.04020.64
5.5.260.0100.08320.79
5.5.250.0130.07720.77
5.5.240.2700.04020.18

preferences:
135.76 ms | 1394 KiB | 7 Q