3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = microtime(1); $i = 0; while (true) { if ( $i>100000 ) break; is_callable('strlen'); } var_dump(microtime(1) - $s);

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.1.70.0132.47416.83
7.1.60.0172.48519.46
7.1.50.0172.48517.01
7.1.00.0072.49322.24
7.0.200.0032.48716.72
7.0.140.0072.49321.95
7.0.60.0172.48320.07
7.0.50.0072.49317.80
7.0.40.0072.49319.94
7.0.30.0132.48719.85
7.0.20.0302.47019.71
7.0.10.0102.49019.91
7.0.00.0102.49019.91
5.6.280.0102.49021.09
5.6.210.0072.49320.66
5.6.200.0032.49718.15
5.6.190.0072.49320.33
5.6.180.0072.49320.49
5.6.170.0432.45720.35
5.6.160.0172.48320.27
5.6.150.0032.49718.17
5.6.140.0032.49718.15
5.6.130.0072.49318.15
5.6.120.0032.49721.00
5.6.110.0102.49021.04
5.6.100.0072.49321.02
5.6.90.0032.49720.96
5.6.80.0072.49320.36
5.5.350.0232.41720.41
5.5.340.0232.43020.80
5.5.330.0072.42320.93
5.5.320.0272.43020.99
5.5.310.0232.43320.86
5.5.300.0172.43320.89
5.5.290.0202.38020.80
5.5.280.0132.41720.91
5.5.270.0302.33720.90
5.5.260.0432.43020.86
5.5.250.0102.43720.67
5.5.240.0202.43320.10
5.4.450.0232.44319.45
5.4.440.0332.40719.20
5.4.430.0272.29719.31
5.4.420.0332.41019.09
5.4.410.0132.43319.25
5.4.400.0232.44718.99
5.4.390.0132.43018.96
5.4.380.0232.42719.05
5.4.370.0202.43719.12
5.4.360.0232.46319.00
5.4.350.0272.42019.12
5.4.340.0102.44019.09
5.4.320.0272.42718.95
5.4.310.0102.43318.97
5.4.300.0242.20215.77
5.4.290.0132.21215.72
5.4.280.0292.19915.58
5.4.270.0222.20815.74
5.4.260.0172.19115.70
5.4.250.0192.20615.70
5.4.240.0062.30415.64
5.4.230.0172.22015.74
5.4.220.0202.20715.66
5.4.210.0172.19315.66
5.4.200.0112.22815.73
5.4.190.0172.20015.68
5.4.180.0212.23115.63
5.4.170.0222.21115.58
5.4.160.0172.22015.73
5.4.150.0102.27015.55
5.4.140.0202.21314.16
5.4.130.0132.23114.16
5.4.120.0082.23214.20
5.4.110.0082.21614.19
5.4.100.0162.21914.13
5.4.90.0282.21114.19
5.4.80.0152.21314.07
5.4.70.0202.39716.33
5.4.60.0202.41316.33
5.4.50.0231.96016.28
5.4.40.0232.00716.37
5.4.30.0101.99716.30
5.4.20.0202.34316.15
5.4.10.0172.39016.34
5.4.00.0272.43015.71
5.3.290.0272.44014.46
5.3.280.0102.44714.36
5.3.270.0172.44314.37
5.3.260.0102.45314.33
5.3.250.0302.30714.38
5.3.240.0072.46014.34
5.3.230.0102.45314.37
5.3.220.0272.39314.20
5.3.210.0172.44014.27
5.3.200.0172.43714.34
5.3.190.0172.40714.41
5.3.180.0072.38014.35
5.3.170.0232.44014.31
5.3.160.0302.39314.29
5.3.150.0202.16714.41
5.3.140.0171.90314.32
5.3.130.0132.10014.33
5.3.120.0232.16314.27
5.3.110.0372.36714.30
5.3.100.0132.48013.82
5.3.90.0172.37313.77
5.3.80.0132.44313.73
5.3.70.0132.43713.73
5.3.60.0202.44313.57
5.3.50.0102.48313.72
5.3.40.0232.43013.66
5.3.30.0202.42713.54
5.3.20.0272.40013.36
5.3.10.0172.42013.37
5.3.00.0172.47013.28
5.2.170.0132.40310.80
5.2.160.0032.45310.83
5.2.150.0002.47010.83
5.2.140.0302.40310.82
5.2.130.0072.44710.81
5.2.120.0172.43010.84
5.2.110.0132.41310.81
5.2.100.0072.41710.80
5.2.90.0272.44010.82
5.2.80.0132.44710.75
5.2.70.0202.44310.77
5.2.60.0202.42310.74
5.2.50.0232.38310.74
5.2.40.0372.41710.68
5.2.30.0172.38710.71
5.2.20.0032.46710.72
5.2.10.0402.32010.75
5.2.00.0332.17710.53
5.1.60.0232.4379.80
5.1.50.0102.4679.74
5.1.40.0272.4279.73
5.1.30.0102.40010.15
5.1.20.0202.42710.18
5.1.10.0002.4979.88
5.1.00.0302.3679.79
5.0.50.0202.4378.35
5.0.40.0202.3978.20
5.0.30.0202.4278.08
5.0.20.0032.3478.08
5.0.10.0172.4178.08
5.0.00.0232.3908.08
4.4.90.0272.4338.08
4.4.80.0072.4708.08
4.4.70.0002.4178.08
4.4.60.0032.4408.08
4.4.50.0132.4108.08
4.4.40.0072.4508.08
4.4.30.0032.4078.08
4.4.20.0332.4038.08
4.4.10.0032.4278.08
4.4.00.0002.4738.08
4.3.110.0072.4478.08
4.3.100.0072.4538.08
4.3.90.0132.4008.08
4.3.80.0072.4538.08
4.3.70.0232.4178.08
4.3.60.0032.4578.08
4.3.50.0032.4538.08
4.3.40.0102.3808.08
4.3.30.0172.4338.08
4.3.20.0172.4178.08
4.3.10.0132.4508.08
4.3.00.0102.4538.08

preferences:
26.99 ms | 400 KiB | 5 Q