3v4l.org

run code in 300+ PHP versions simultaneously
<?php levenshtein('morning', 'Mornrinringignigningdshfdshfdsjfgjsfsdjhgfsdjgfsdjhgfsdjh');

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)
8.3.60.0130.00618.31
8.3.50.0060.01021.92
8.3.40.0030.01418.68
8.3.30.0070.01118.83
8.3.20.0070.00720.24
8.3.10.0050.00223.61
8.3.00.0000.00820.69
8.2.180.0070.00716.32
8.2.170.0070.01122.96
8.2.160.0070.00722.25
8.2.150.0070.00024.18
8.2.140.0020.00524.66
8.2.130.0000.00726.16
8.2.120.0030.00520.98
8.2.110.0100.00022.28
8.2.100.0070.00717.66
8.2.90.0060.00317.63
8.2.80.0040.00418.65
8.2.70.0030.00617.80
8.2.60.0060.00617.66
8.2.50.0000.00718.10
8.2.40.0080.00019.11
8.2.30.0040.00420.79
8.2.20.0040.00417.39
8.2.10.0000.00819.22
8.2.00.0040.00417.42
8.1.280.0060.01325.92
8.1.270.0000.00823.71
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0140.00723.81
8.1.230.0070.00420.91
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00617.23
8.1.190.0040.00417.23
8.1.180.0000.00818.10
8.1.170.0030.00518.65
8.1.160.0040.00418.75
8.1.150.0050.00320.03
8.1.140.0000.00817.39
8.1.130.0030.00317.80
8.1.120.0030.00317.22
8.1.110.0040.00417.26
8.1.100.0030.00617.30
8.1.90.0070.00017.21
8.1.80.0050.00317.32
8.1.70.0000.00817.27
8.1.60.0060.00317.34
8.1.50.0000.00717.39
8.1.40.0000.00817.28
8.1.30.0000.00817.39
8.1.20.0000.00717.41
8.1.10.0040.00417.25
8.1.00.0030.00617.28
8.0.300.0080.00018.77
8.0.290.0040.00416.63
8.0.280.0000.00718.27
8.0.270.0040.00417.04
8.0.260.0030.00316.71
8.0.250.0060.00016.70
8.0.240.0000.00816.80
8.0.230.0000.00716.82
8.0.220.0030.00316.63
8.0.210.0000.00716.68
8.0.200.0030.00316.79
8.0.190.0070.00016.82
8.0.180.0030.00316.82
8.0.170.0050.00316.66
8.0.160.0070.00016.87
8.0.150.0000.00716.76
8.0.140.0040.00416.73
8.0.130.0060.00013.17
8.0.120.0050.00316.68
8.0.110.0000.00716.71
8.0.100.0040.00416.56
8.0.90.0080.00016.68
8.0.80.0160.00316.72
8.0.70.0040.00416.73
8.0.60.0040.00416.64
8.0.50.0000.00716.57
8.0.30.0150.00616.87
8.0.20.0120.00617.40
8.0.10.0000.00716.82
8.0.00.0130.00616.54
7.4.330.0050.00015.00
7.4.320.0030.00316.44
7.4.300.0000.00716.26
7.4.290.0000.00716.51
7.4.280.0000.00616.45
7.4.270.0030.00316.47
7.4.260.0070.00016.44
7.4.250.0080.00016.32
7.4.240.0060.00116.37
7.4.230.0040.00416.34
7.4.220.0030.01516.31
7.4.210.0070.00916.33
7.4.200.0050.00216.43
7.4.190.0050.00216.58
7.4.160.0000.01516.10
7.4.150.0130.00417.40
7.4.140.0120.00717.86
7.4.130.0070.01016.23
7.4.120.0090.00816.33
7.4.110.0060.01316.27
7.4.100.0100.00716.43
7.4.90.0040.01316.30
7.4.80.0060.01216.21
7.4.70.0060.01516.35
7.4.60.0120.00616.48
7.4.50.0060.00316.39
7.4.40.0080.00422.77
7.4.30.0090.01016.17
7.4.00.0130.00314.75
7.3.330.0000.00812.97
7.3.320.0050.00012.84
7.3.310.0040.00416.10
7.3.300.0000.00716.02
7.3.290.0070.00716.15
7.3.280.0090.00916.15
7.3.270.0070.01017.40
7.3.260.0140.00716.39
7.3.250.0070.01016.40
7.3.240.0030.01316.28
7.3.230.0110.00516.39
7.3.210.0110.00616.43
7.3.200.0090.01319.39
7.3.190.0050.01116.18
7.3.180.0060.01016.10
7.3.170.0090.00616.27
7.3.160.0090.00616.19
7.3.120.0030.01314.86
7.2.330.0070.01016.34
7.2.320.0070.01116.59
7.2.310.0070.01016.53
7.2.300.0090.00816.59
7.2.290.0070.01316.46
7.2.00.0060.00619.07
7.1.100.0080.00317.87
7.1.70.0070.00417.07
7.1.60.0030.00717.01
7.1.50.0060.01616.95
7.1.00.0030.07322.33
7.0.200.0040.01416.75
7.0.140.0000.07322.22
7.0.60.0070.08719.89
7.0.50.0000.04317.80
7.0.40.0100.05320.23
7.0.30.0470.05320.18
7.0.20.0170.04320.16
7.0.10.0300.05020.09
7.0.00.0070.07720.16
5.6.280.0100.06720.91
5.6.210.0000.04320.46
5.6.200.0130.07718.12
5.6.190.0030.04320.77
5.6.180.3200.04320.38
5.6.170.0170.04320.39
5.6.160.0000.06020.38
5.6.150.0070.08018.19
5.6.140.0030.07018.16
5.6.130.0130.07318.07
5.6.120.0100.04021.10
5.6.110.0070.06320.88
5.6.100.0170.07720.88
5.6.90.0030.08721.00
5.6.80.0000.04020.50
5.6.70.4400.03320.36
5.5.350.0230.06020.31
5.5.340.0030.04717.96
5.5.330.0030.07720.19
5.5.320.0000.08320.21
5.5.310.0370.06320.27
5.5.300.0130.06718.02
5.5.290.0100.07718.00
5.5.280.0070.04720.86
5.5.270.0100.08020.64
5.5.260.0030.07720.86
5.5.250.0100.07720.65
5.5.240.0100.07720.34
5.4.450.0970.06319.63
5.4.440.0830.04719.53
5.4.430.0200.04319.35
5.4.420.0600.00019.49
5.4.410.0130.05718.85
5.4.400.0300.05018.54
5.4.390.0200.05018.74
5.4.380.0100.06318.74
5.4.370.0100.05718.53
5.4.360.0030.06018.59
5.4.350.0090.03211.98
5.4.340.0080.04211.97
5.4.320.0090.03612.45
5.4.310.0040.04012.45
5.4.300.0090.04812.45
5.4.290.0090.03612.45
5.4.280.0100.06412.32
5.4.270.0160.07412.32
5.4.260.0100.07112.32
5.4.250.0090.07312.32
5.4.240.0140.05912.32
5.4.230.0120.06812.31
5.4.220.0080.07612.31
5.4.210.0130.06812.31
5.4.200.0100.06612.31
5.4.190.0150.05912.31
5.4.180.0120.06212.30
5.4.170.0090.06912.32
5.4.160.0090.07412.32
5.4.150.0130.05612.31
5.4.140.0170.07412.00
5.4.130.0120.05111.98
5.4.120.0100.07611.94
5.4.110.0120.07111.94
5.4.100.0140.07111.94
5.4.90.0060.06111.94
5.4.80.0160.06811.94
5.4.70.0150.07811.93
5.4.60.0160.04911.93
5.4.50.0140.08611.93
5.4.40.0110.04311.92
5.4.30.0160.07611.92
5.4.20.0190.06811.92
5.4.10.0120.08311.92
5.4.00.0230.06711.41
5.3.290.0090.04712.80
5.3.280.0140.05512.71
5.3.270.0220.06612.72
5.3.260.0120.06912.72
5.3.250.0120.06012.72
5.3.240.0070.05612.71
5.3.230.0160.07912.71
5.3.220.0130.08612.68
5.3.210.0110.08012.68
5.3.200.0140.07712.68
5.3.190.0120.08112.68
5.3.180.0140.06112.68
5.3.170.0120.05812.66
5.3.160.0130.10412.67
5.3.150.0050.11112.67
5.3.140.0130.06512.66
5.3.130.0150.06212.66
5.3.120.0070.07312.66
5.3.110.0100.05812.66
5.3.100.0130.05812.12
5.3.90.0140.08212.09
5.3.80.0180.08212.08
5.3.70.0090.09612.08
5.3.60.0120.06512.06
5.3.50.0080.05912.00
5.3.40.0160.07612.00
5.3.30.0120.07711.94
5.3.20.0200.07211.70
5.3.10.0120.05811.67
5.3.00.0150.08111.65
5.2.170.0180.0759.15
5.2.160.0100.0639.14
5.2.150.0160.0509.15
5.2.140.0150.0899.14
5.2.130.0100.0819.11
5.2.120.0200.0749.11
5.2.110.0090.0499.11
5.2.100.0180.0739.11
5.2.90.0120.0549.11
5.2.80.0130.0529.11
5.2.70.0080.0489.11
5.2.60.0090.0409.06
5.2.50.0090.0439.03
5.2.40.0090.0309.00
5.2.30.0070.0458.98
5.2.20.0100.0378.96
5.2.10.0130.0338.89
5.2.00.0100.0398.75
5.1.60.0070.0378.04
5.1.50.0100.0358.04
5.1.40.0070.0348.02
5.1.30.0070.0348.37
5.1.20.0050.0378.39
5.1.10.0080.0318.12
5.1.00.0070.0348.12
5.0.50.0050.0306.59
5.0.40.0040.0286.45
5.0.30.0060.0396.26
5.0.20.0060.0256.24
5.0.10.0050.0266.22
5.0.00.0070.0486.21
4.4.90.0060.0344.78
4.4.80.0080.0214.75
4.4.70.0110.0314.75
4.4.60.0050.0234.75
4.4.50.0070.0264.77
4.4.40.0040.0434.71
4.4.30.0090.0504.76
4.4.20.0180.0424.84
4.4.10.0120.0244.85
4.4.00.0140.0524.76
4.3.110.0060.0304.67
4.3.100.0030.0294.66
4.3.90.0080.0424.63
4.3.80.0060.0324.58
4.3.70.0030.0244.63
4.3.60.0040.0244.63
4.3.50.0050.0264.63
4.3.40.0060.0334.54
4.3.30.0070.0203.27
4.3.20.0050.0223.25
4.3.10.0060.0213.21
4.3.00.0000.0307.00

preferences:
59.08 ms | 401 KiB | 5 Q