3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(mb_list_encodings()); exit(); $regexEncoding = "Windows-1251"; var_dump(mb_internal_encoding($regexEncoding)); exit(); var_dump(mb_regex_encoding($regexEncoding));

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.0100.01018.28
8.3.50.0140.00821.92
8.3.40.0080.01118.69
8.3.30.0110.00418.59
8.3.20.0090.00018.82
8.3.10.0030.00520.96
8.3.00.0040.00423.65
8.2.180.0150.00016.72
8.2.170.0110.01122.96
8.2.160.0080.00820.62
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0030.00619.66
8.2.110.0040.00422.32
8.2.100.0060.00618.09
8.2.90.0030.00618.03
8.2.80.0000.00917.97
8.2.70.0060.00317.63
8.2.60.0050.00317.93
8.2.50.0030.00718.07
8.2.40.0050.00318.16
8.2.30.0040.00421.34
8.2.20.0040.00417.70
8.2.10.0040.00417.73
8.2.00.0040.00817.89
8.1.280.0100.01325.92
8.1.270.0040.00423.99
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00322.19
8.1.230.0110.00421.02
8.1.220.0060.00317.74
8.1.210.0000.01018.78
8.1.200.0060.00317.35
8.1.190.0040.00417.78
8.1.180.0000.00818.10
8.1.170.0000.00818.62
8.1.160.0030.00518.86
8.1.150.0050.00318.63
8.1.140.0030.00617.42
8.1.130.0030.00517.88
8.1.120.0000.00817.43
8.1.110.0070.00317.32
8.1.100.0040.00417.39
8.1.90.0040.00417.31
8.1.80.0080.00017.46
8.1.70.0040.00417.34
8.1.60.0030.00617.54
8.1.50.0040.00417.48
8.1.40.0030.00517.56
8.1.30.0000.00917.58
8.1.20.0040.00417.66
8.1.10.0080.00017.60
8.1.00.0040.00417.55
8.0.300.0040.00419.91
8.0.290.0080.00016.63
8.0.280.0040.00418.38
8.0.270.0030.00317.10
8.0.260.0030.00316.75
8.0.250.0050.00316.90
8.0.240.0040.00416.88
8.0.230.0000.00716.82
8.0.220.0030.00316.84
8.0.210.0070.00016.87
8.0.200.0000.00717.00
8.0.190.0080.00017.01
8.0.180.0040.00416.93
8.0.170.0000.00716.79
8.0.160.0000.00716.82
8.0.150.0040.00416.87
8.0.140.0030.00616.89
8.0.130.0070.00013.30
8.0.120.0000.00816.84
8.0.110.0040.00416.73
8.0.100.0040.00416.68
8.0.90.0040.00416.78
8.0.80.0110.00716.86
8.0.70.0000.00716.92
8.0.60.0050.00216.80
8.0.50.0060.00316.91
8.0.30.0150.00516.93
8.0.20.0140.00817.40
8.0.10.0040.00416.94
8.0.00.0130.00916.75
7.4.330.0030.00314.71
7.4.320.0040.00416.29
7.4.300.0030.00316.53
7.4.290.0040.00316.50
7.4.280.0030.00316.52
7.4.270.0030.00316.52
7.4.260.0030.00313.14
7.4.250.0050.00216.40
7.4.240.0000.00716.29
7.4.230.0030.00316.48
7.4.220.0100.01616.50
7.4.210.0060.01016.54
7.4.200.0070.00016.43
7.4.190.0070.00016.52
7.4.160.0130.00516.49
7.4.150.0070.01117.40
7.4.140.0080.01617.86
7.4.130.0100.00916.45
7.4.120.0100.01016.46
7.4.110.0140.01416.65
7.4.100.0210.00416.48
7.4.90.0120.00816.69
7.4.80.0190.00619.37
7.4.70.0000.01916.63
7.4.60.0040.01516.65
7.4.50.0030.00616.05
7.4.40.0100.00722.52
7.4.30.0060.01316.48
7.4.00.0060.00915.00
7.3.330.0030.00313.16
7.3.320.0030.00313.15
7.3.310.0070.00016.32
7.3.300.0030.00316.15
7.3.290.0070.01016.31
7.3.280.0060.01016.27
7.3.270.0140.00717.40
7.3.260.0160.00818.24
7.3.250.0130.00716.37
7.3.240.0120.01216.34
7.3.230.0090.00916.39
7.3.210.0100.01016.41
7.3.200.0030.01519.39
7.3.190.0210.00316.46
7.3.180.0080.01216.33
7.3.170.0110.00616.27
7.3.160.0150.00316.21
7.3.120.0090.00314.75
7.3.10.0140.00316.45
7.3.00.0090.00916.67
7.2.330.0140.00416.48
7.2.320.0070.01716.72
7.2.310.0130.00616.53
7.2.300.0080.01216.50
7.2.290.0070.01116.67
7.2.130.0080.01216.66
7.2.120.0170.00416.28
7.2.110.0150.00716.67
7.2.100.0100.01016.68
7.2.90.0080.01116.49
7.2.80.0180.00416.50
7.2.70.0110.00816.79
7.2.60.0130.00516.81
7.2.50.0150.00816.50
7.2.40.0140.00716.86
7.2.30.0090.00916.79
7.2.20.0140.00716.67
7.2.10.0230.00716.80
7.2.00.0130.00418.28
7.1.250.0040.01315.77
7.1.200.0060.00615.67
7.1.100.0060.00817.61
7.1.70.0060.00616.79
7.1.60.0100.01619.40
7.1.50.0060.00616.77
7.1.00.0000.07722.44
7.0.200.0060.01016.80
7.0.140.0070.07022.06
7.0.60.0070.06719.89
7.0.50.0030.09017.66
7.0.40.0070.05720.05
7.0.30.0430.08320.30
7.0.20.0330.05020.20
7.0.10.0100.03720.00
7.0.00.0070.05020.01
5.6.280.0030.07020.85
5.6.210.0030.05320.71
5.6.200.0070.03718.09
5.6.190.0170.08020.39
5.6.180.0530.06020.27
5.6.170.0170.05020.50
5.6.160.0030.06320.52
5.6.150.0100.07718.16
5.6.140.0030.08718.08
5.6.130.0070.05318.18
5.6.120.0100.05320.98
5.6.110.0070.06721.02
5.6.100.0100.07720.98
5.6.90.0100.03720.84
5.6.80.0100.08020.28
5.5.350.4330.04020.46
5.5.340.0070.03717.92
5.5.330.0070.04020.30
5.5.320.0030.08320.17
5.5.310.0470.07020.26
5.5.300.0130.07717.95
5.5.290.0200.07017.95
5.5.280.0070.08720.95
5.5.270.0100.05320.95
5.5.260.0130.06020.73
5.5.250.0170.06320.61
5.5.240.0170.07720.06
5.4.450.3970.04719.14
5.4.440.4270.04019.12
5.4.430.0070.04719.27
5.4.420.4070.04019.41
5.4.410.3370.04019.32
5.4.400.3630.03718.81
5.4.390.4530.03318.93
5.4.380.3630.04018.93
5.4.370.3470.03319.13
5.4.360.3400.03718.90
5.4.350.3930.03719.09
5.4.340.3430.03718.88
5.4.320.3570.03319.13
5.4.310.3370.04019.13
5.4.300.3670.03719.06
5.4.290.3430.04319.16
5.4.280.3600.04019.23
5.4.270.3630.04319.15
5.4.260.3730.04018.80
5.4.250.3170.04019.16
5.4.240.3600.04019.09
5.4.230.3700.03318.88
5.4.220.3700.04019.24
5.4.210.3400.04319.15
5.4.200.3970.03719.07
5.4.190.3500.03719.08
5.4.180.3700.03318.78
5.4.170.3370.04019.05
5.4.160.3870.03719.14
5.4.150.4530.03719.06
5.4.140.4400.03716.35
5.4.130.4070.03716.26
5.4.120.4100.03316.26
5.4.110.4430.03716.45
5.4.100.3700.03016.47
5.4.90.3630.03716.39
5.4.80.4270.03016.38
5.4.70.3670.03316.39
5.4.60.4200.02716.23
5.4.50.3400.03716.04
5.4.40.3670.03316.27
5.4.30.3530.03316.38
5.4.20.3570.03016.47
5.4.10.4330.03716.18
5.4.00.4370.04015.73
5.3.290.3400.04014.51
5.3.280.3470.03714.63
5.3.270.3430.04014.45
5.3.260.3600.04314.55
5.3.250.4030.04014.56
5.3.240.4470.04014.56
5.3.230.4500.03314.54
5.3.220.4230.04014.62
5.3.210.3770.03714.41
5.3.200.3900.04314.54
5.3.190.4270.03714.43
5.3.180.3870.03714.45
5.3.170.3670.03714.41
5.3.160.3600.03714.41
5.3.150.3470.04314.63
5.3.140.3400.04014.49
5.3.130.4370.02314.50
5.3.120.3700.03714.50
5.3.110.4200.03314.40
5.3.100.4330.03313.99
5.3.90.4200.03013.97
5.3.80.4430.04013.99
5.3.70.3730.04013.88
5.3.60.4000.03013.90
5.3.50.3670.03713.80
5.3.40.3730.04313.79
5.3.30.3730.03313.95
5.3.20.3700.03313.65
5.3.10.3670.03713.68
5.3.00.3330.04313.48
5.2.170.3030.03311.02
5.2.160.2870.02711.09
5.2.150.3100.02311.16
5.2.140.3070.02711.09
5.2.130.3000.02711.13
5.2.120.2830.03010.94
5.2.110.3170.02310.96
5.2.100.3270.03011.16
5.2.90.3830.03011.25
5.2.80.3600.02711.25
5.2.70.4330.02711.04
5.2.60.0070.04010.98
5.2.50.0130.05310.91
5.2.40.0030.04010.93
5.2.30.0070.03710.99
5.2.20.2030.03310.79
5.2.10.2930.02710.78
5.2.00.2630.03310.57
5.1.60.2570.02710.16
5.1.50.2300.02310.04
5.1.40.2600.0309.86
5.1.30.2600.03010.36
5.1.20.2730.02010.41
5.1.10.2430.0209.93
5.1.00.2430.0239.96
5.0.50.1470.0278.52
5.0.40.1200.0208.43
5.0.30.1430.0378.16
5.0.20.1330.0208.18
5.0.10.1300.0238.30
5.0.00.1270.0308.38
4.4.90.1730.0177.64
4.4.80.0100.0107.64
4.4.70.1730.0177.64
4.4.60.1400.0177.64
4.4.50.1100.0077.64
4.4.40.1100.0277.64
4.4.30.1100.0177.64
4.4.20.1370.0177.64
4.4.10.1370.0177.64
4.4.00.1570.0237.64
4.3.110.1130.0137.64
4.3.100.1370.0137.64
4.3.90.1400.0177.64
4.3.80.1370.0237.64
4.3.70.1370.0207.64
4.3.60.1170.0137.64
4.3.50.1130.0177.64
4.3.40.1430.0237.64
4.3.30.0800.0277.64
4.3.20.0830.0237.64
4.3.10.0770.0237.64
4.3.00.0700.0177.64

preferences:
49.39 ms | 401 KiB | 5 Q