3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = microtime(1); $i = 0; while (true) { if ( $i>1000 ) 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.0932.26515.46
7.1.60.0072.49519.46
7.1.50.0202.48217.00
7.1.00.0072.49322.31
7.0.200.0032.49616.63
7.0.140.0002.50021.92
7.0.60.0032.49719.92
7.0.50.0032.49717.59
7.0.40.0132.48719.87
7.0.30.0232.47719.95
7.0.20.0232.47719.95
7.0.10.0032.49719.88
7.0.00.0132.48719.71
5.6.280.0072.49321.11
5.6.210.0072.49320.76
5.6.200.0072.49318.13
5.6.190.0032.49720.15
5.6.180.0272.47320.14
5.6.170.0232.47720.32
5.6.160.0002.50020.32
5.6.150.0132.48718.12
5.6.140.0072.49318.07
5.6.130.0032.49718.05
5.6.120.3402.16021.14
5.6.110.0072.49320.97
5.6.100.0072.49320.97
5.6.90.0072.49320.99
5.6.80.0072.49320.37
5.5.350.0232.44720.40
5.5.340.0172.42320.82
5.5.330.0502.36320.79
5.5.320.0132.43320.86
5.5.310.0232.32720.84
5.5.300.0302.40020.78
5.5.290.0272.42020.93
5.5.280.0132.44320.86
5.5.270.0232.37020.68
5.5.260.0172.47320.82
5.5.250.0202.44020.77
5.5.240.0172.45720.28
5.4.450.0232.43719.36
5.4.440.0132.44319.17
5.4.430.0202.38319.27
5.4.420.0202.44319.22
5.4.410.0232.35019.29
5.4.400.0402.40318.82
5.4.390.0172.47718.96
5.4.380.0072.39318.98
5.4.370.0102.46719.03
5.4.360.0302.37019.12
5.4.350.0332.35318.82
5.4.340.0032.46319.03
5.4.320.0302.12318.98
5.4.310.0172.07018.88
5.4.300.0371.83318.90
5.4.290.0301.99319.11
5.4.280.0272.02718.76
5.4.270.0172.40719.02
5.4.260.0132.41318.95
5.4.250.0202.41719.14
5.4.240.0102.45718.88
5.4.230.0232.39319.02
5.4.220.0332.40718.81
5.4.210.0102.46319.11
5.4.200.0232.42718.95
5.4.190.0102.40318.98
5.4.180.0002.47019.02
5.4.170.0272.02718.97
5.4.160.0102.08018.96
5.4.150.0232.05318.93
5.4.140.0172.12016.29
5.4.130.0271.88716.29
5.4.120.0071.89316.32
5.4.110.0232.40316.38
5.4.100.0132.45316.36
5.4.90.0232.40716.30
5.4.80.0172.40716.38
5.4.70.0232.43716.25
5.4.60.0232.41016.36
5.4.50.0172.43016.15
5.4.40.0072.44716.39
5.4.30.0232.40316.35
5.4.20.0132.43716.38
5.4.10.0102.42016.31
5.4.00.0302.33715.88
5.3.290.0101.95714.41
5.3.280.0332.39714.36
5.3.270.0132.42314.36
5.3.260.0131.96714.39
5.3.250.0271.93714.25
5.3.240.0102.20714.38
5.3.230.0132.05014.28
5.3.220.0031.97714.34
5.3.210.0172.18714.32
5.3.200.0102.47714.33
5.3.190.0272.37714.32
5.3.180.0132.43314.40
5.3.170.0172.40714.33
5.3.160.0132.43014.28
5.3.150.0232.42714.29
5.3.140.0132.40314.29
5.3.130.0132.43714.31
5.3.120.0302.38014.33
5.3.110.0132.42314.39
5.3.100.0372.40713.80
5.3.90.0132.42713.75
5.3.80.0272.41313.63
5.3.70.0202.39713.68
5.3.60.0302.45313.70
5.3.50.0202.38713.62
5.3.40.0232.41313.56
5.3.30.0172.44013.58
5.3.20.0172.43713.40
5.3.10.0032.44313.33
5.3.00.0032.45713.21
5.2.170.0232.42310.82
5.2.160.0102.46310.68
5.2.150.0132.41710.83
5.2.140.0102.45310.82
5.2.130.0102.46310.81
5.2.120.0072.44010.84
5.2.110.0132.41310.82
5.2.100.0132.40310.76
5.2.90.0072.45010.85
5.2.80.0272.24710.79
5.2.70.0071.92310.80
5.2.60.0271.90010.75
5.2.50.0101.56010.76
5.2.40.0171.49710.66
5.2.30.0071.68310.63
5.2.20.0102.01010.73
5.2.10.0132.40710.66
5.2.00.0302.39710.56
5.1.60.0032.4639.76
5.1.50.0272.4139.80
5.1.40.0172.4409.82
5.1.30.0002.44310.15
5.1.20.0172.44310.07
5.1.10.0172.2209.88
5.1.00.0172.0009.87
5.0.50.0071.9978.31
5.0.40.0132.1808.20
5.0.30.0232.4308.07
5.0.20.0102.4378.07
5.0.10.0132.3178.07
5.0.00.0071.9178.07
4.4.90.0001.9738.07
4.4.80.0201.9438.07
4.4.70.0131.9978.07
4.4.60.0232.1538.07
4.4.50.0232.2878.07
4.4.40.0032.4038.07
4.4.30.0002.4178.07
4.4.20.0002.4378.07
4.4.10.0132.0538.07
4.4.00.0101.9708.07
4.3.110.0072.3778.07
4.3.100.0202.4078.07
4.3.90.0132.3778.07
4.3.80.0131.8108.07
4.3.70.0171.4478.07
4.3.60.0131.4408.07
4.3.50.0031.3808.07
4.3.40.0271.3308.07
4.3.30.0171.4078.07
4.3.20.0101.7938.07
4.3.10.0172.3338.07
4.3.00.0072.4608.07

preferences:
39.1 ms | 401 KiB | 5 Q