3v4l.org

run code in 300+ PHP versions simultaneously
<?php $liczba=0; foreach($tab as &element){ if($element>$liczba) echo $element; } ?>

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.0130.06720.23
5.6.160.0070.06720.50
5.6.150.0000.04718.15
5.6.140.0030.04018.18
5.6.130.0130.07718.28
5.6.120.0170.07021.02
5.6.110.0130.06021.13
5.6.100.0100.08321.00
5.6.90.0100.03720.97
5.6.80.0000.08320.38
5.5.300.0170.07018.08
5.5.290.0000.06718.09
5.5.280.0100.08020.96
5.5.270.0030.04720.86
5.5.260.0170.07720.86
5.5.250.0170.07320.58
5.5.240.4230.03720.26

preferences:
139.22 ms | 1394 KiB | 7 Q