3v4l.org

run code in 300+ PHP versions simultaneously
<?php class derp implements Iterator { public current() {} public key() {} public next() {} public rewind() {} public valid() {} } $d = new Derp; var_dump(is_array($d));

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)
5.5.120.0100.07317.29
5.5.110.0030.08017.31
5.5.100.0030.05017.32
5.5.90.0070.03717.23
5.5.80.0070.06717.23
5.5.70.0030.05317.18
5.5.60.0070.05017.23
5.5.50.0070.04717.19
5.5.40.0030.06317.18
5.5.30.0100.07317.22
5.5.20.0070.05317.29
5.5.10.0030.06717.18
5.5.00.0100.04717.22
5.4.280.0100.03319.09
5.4.270.0030.05018.89
5.4.260.0030.03719.03
5.4.250.0000.04319.01
5.4.240.0030.05019.09
5.4.230.0000.05719.11
5.4.220.0100.07319.09
5.4.210.0100.05019.26
5.4.200.0070.08019.04
5.4.190.0100.06718.94
5.4.180.0000.05719.12
5.4.170.0030.06019.04
5.4.160.0070.04719.04
5.4.150.0100.06318.96
5.4.140.0030.04016.45
5.4.130.0130.06716.40
5.4.120.0030.04316.45
5.4.110.0000.05316.29
5.4.100.0100.06316.38
5.4.90.0070.03716.46
5.4.80.0230.04316.22
5.4.70.0030.06316.25
5.4.60.0100.06016.36
5.4.50.0070.05316.36
5.4.40.0100.07016.44
5.4.30.0030.04716.56
5.4.20.0030.04316.40
5.4.10.0100.04716.38
5.4.00.0100.06715.84
5.3.280.0070.03714.44
5.3.270.0070.07314.81
5.3.260.0070.04014.45
5.3.250.0030.04014.62
5.3.240.0100.07314.64
5.3.230.0070.06314.64
5.3.220.0000.06314.61
5.3.210.0030.05714.63
5.3.200.0100.04314.59
5.3.190.0100.04014.52
5.3.180.0030.06714.63
5.3.170.0070.06014.55
5.3.160.0070.04314.41
5.3.150.0100.06314.61
5.3.140.0130.06314.65
5.3.130.0100.05314.59
5.3.120.0070.04014.58
5.3.110.0070.04714.63
5.3.100.0100.04014.25
5.3.90.0070.06014.05
5.3.80.0100.05314.08
5.3.70.0130.07013.91
5.3.60.0100.07013.99
5.3.50.0100.06313.98
5.3.40.0070.05013.94
5.3.30.0000.05713.91
5.3.20.0100.04013.76
5.3.10.0000.04313.69
5.3.00.0170.06013.52

preferences:
139.47 ms | 1386 KiB | 7 Q