3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach (explode(',', '1,2,3,4,5,6') as $key) { echo $key }

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.20.0270.06020.10
7.0.10.0030.04320.06
7.0.00.0070.07020.07
5.6.170.0200.04020.45
5.6.160.0100.07720.44
5.6.150.0100.08018.25
5.6.140.0070.07018.25
5.6.130.0100.03318.18
5.6.120.0000.04321.10
5.6.110.0030.05320.98
5.6.100.0100.06021.11
5.6.90.0100.08721.12
5.6.80.0030.03720.48
5.5.310.0270.05020.18
5.5.300.0070.07718.03
5.5.290.0100.07718.08
5.5.280.0070.07720.80
5.5.270.0130.08320.77
5.5.260.0130.05720.89
5.5.250.0070.08720.58
5.5.240.0400.06020.23

preferences:
147.98 ms | 1394 KiB | 7 Q