3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach( range(1,10) as $number) { echo ($number % 2 ==0 ?? : ""); }

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.10.0170.08020.16
7.0.00.0100.08320.08
5.6.160.0100.04720.54
5.6.150.0000.09018.27
5.6.140.0100.03718.27
5.6.130.0070.05718.14
5.6.120.0030.08721.08
5.6.110.0030.04320.94
5.6.100.0130.07021.11
5.6.90.0030.08720.88
5.6.80.0070.06020.53
5.5.300.0000.05018.09
5.5.290.0070.08718.08
5.5.280.0070.05720.84
5.5.270.0070.04720.84
5.5.260.0170.07720.77
5.5.250.0070.08020.79
5.5.240.0100.05020.26

preferences:
137.89 ms | 1394 KiB | 7 Q