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.0100.06320.15
5.6.160.0030.04720.46
5.6.150.0170.07018.19
5.6.140.0100.08018.18
5.6.130.0100.04318.11
5.6.120.0070.07321.01
5.6.110.0130.05721.10
5.6.100.0130.06321.13
5.6.90.0170.05021.10
5.6.80.0070.08320.48
5.5.300.0030.08318.08
5.5.290.0100.04017.95
5.5.280.0130.08020.77
5.5.270.0000.04720.87
5.5.260.0030.07320.66
5.5.250.0130.07320.45
5.5.240.4170.03720.06

preferences:
141.32 ms | 1394 KiB | 7 Q