3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mkis3=array(array('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.0070.04320.10
5.6.160.0000.08720.55
5.6.150.0070.07718.18
5.6.140.0070.08318.15
5.6.130.0100.08318.16
5.6.120.0100.03320.96
5.6.110.0000.08321.11
5.6.100.0030.08020.95
5.6.90.0100.08021.00
5.6.80.0030.05020.35
5.5.300.0070.07318.07
5.5.290.0070.04017.95
5.5.280.0070.05720.72
5.5.270.0130.07720.79
5.5.260.0170.07720.67
5.5.250.0070.07020.57
5.5.240.4000.05020.26

preferences:
141.55 ms | 1394 KiB | 7 Q