3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i1 = "\xd0\xb9"; $i2 = "\xd0\xb8\xcc\x86"; echo $i1, ' ', strlen($i1), ' ', mb_strlen($i1), ' ', mb_strlen(Normalizer::normalize($i1, Normalizer::NFC)), "\n"; echo $i2, ' ', strlen($i2), ' ', mb_strlen($i2), ' ', mb_strlen(Normalizer::normalize($i2, Normalizer::NFC)), "\n";

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.5.00.0110.01120.45
8.4.150.0030.00014.05
8.4.140.0110.01018.04
8.4.130.0140.00718.11
8.4.120.0120.00820.88
8.4.110.0110.00522.69
8.4.100.0100.01018.00
8.4.90.0080.00918.77
8.4.80.0110.00918.23
8.4.70.0080.01018.03
8.4.60.0090.01019.16
8.4.50.0120.00818.00
8.4.40.0030.01119.58
8.4.30.0150.00317.92
8.4.20.0130.00719.82
8.4.10.0070.01019.78
8.3.280.0120.00918.68
8.3.270.0120.00816.67
8.3.260.0130.00716.79
8.3.250.0090.00118.95
8.3.240.0120.00716.96
8.3.230.0120.00416.79
8.3.220.0020.00617.53
8.3.210.0080.00416.82
8.3.200.0040.00516.68
8.3.190.0080.00919.13
8.3.180.0130.00416.78
8.3.170.0130.00718.88
8.3.160.0110.00418.64
8.3.150.0080.01119.27
8.3.140.0040.00418.92
8.3.130.0110.00418.54
8.3.120.0060.00319.27
8.3.110.0040.00420.94
8.3.100.0080.00024.06
8.3.90.0030.01526.77
8.3.80.0090.00318.56
8.3.70.0150.00018.47
8.3.60.0070.01416.61
8.3.50.0100.00317.79
8.3.40.0070.00718.79
8.3.30.0070.01118.84
8.3.20.0060.00320.60
8.3.10.0080.00023.76
8.3.00.0040.00423.64
8.2.290.0110.00720.82
8.2.280.0110.00420.34
8.2.270.0070.01417.36
8.2.260.0150.00020.37
8.2.250.0040.00417.12
8.2.240.0060.00317.43
8.2.230.0140.00022.58
8.2.220.0000.00837.54
8.2.210.0080.00026.77
8.2.200.0000.01117.13
8.2.190.0120.00316.75
8.2.180.0110.00318.44
8.2.170.0070.01422.96
8.2.160.0070.00720.11
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0070.00719.77
8.2.110.0030.00620.59
8.2.100.0140.00018.09
8.2.90.0000.00819.51
8.2.80.0080.00017.97
8.2.70.0030.00517.75
8.2.60.0000.00818.18
8.2.50.0030.00518.22
8.2.40.0040.00421.02
8.2.30.0040.00419.57
8.2.20.0070.00018.39
8.2.10.0040.00418.20
8.2.00.0040.00418.24
8.1.330.0110.00822.21
8.1.320.0040.00416.50
8.1.310.0000.00817.11
8.1.300.0060.00318.01
8.1.290.0090.00030.84
8.1.280.0040.01125.92
8.1.270.0040.00424.20
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0040.00421.13
8.1.230.0110.00020.60
8.1.220.0040.00417.89
8.1.210.0030.00718.77
8.1.200.0000.00917.35
8.1.190.0000.00817.48
8.1.180.0000.00718.10
8.1.170.0000.00818.85
8.1.160.0040.00419.09
8.1.150.0050.00220.41
8.1.140.0000.00719.28
8.1.130.0060.00319.08
8.1.120.0030.00717.54
8.1.110.0030.00517.68
8.1.100.0000.00817.66
8.1.90.0040.00417.60
8.1.80.0000.00717.41
8.1.70.0030.00317.65
8.1.60.0040.00417.68
8.1.50.0000.00817.71
8.1.40.0040.00417.72
8.1.30.0050.00317.90
8.1.20.0050.00317.84
8.1.10.0040.00417.86
8.1.00.0080.00017.79
8.0.300.0070.00018.77
8.0.290.0000.00717.00
8.0.280.0000.00718.82
8.0.270.0000.00817.51
8.0.260.0030.00319.10
8.0.250.0030.00317.34
8.0.240.0070.00317.23
8.0.230.0070.00017.09
8.0.220.0000.00717.07
8.0.210.0030.00317.16
8.0.200.0000.00817.22
8.0.190.0030.00617.25
8.0.180.0070.00017.16
8.0.170.0040.00417.16
8.0.160.0040.00417.09
8.0.150.0050.00317.03
8.0.140.0050.00317.17
8.0.130.0030.00313.45
8.0.120.0040.00417.10
8.0.110.0000.00717.09
8.0.100.0000.00717.16
8.0.90.0000.00817.27
8.0.80.0060.00917.18
8.0.70.0040.00417.12
8.0.60.0040.00417.00
8.0.50.0040.00417.03
8.0.30.0070.01217.35
8.0.20.0150.00817.42
8.0.10.0030.00517.08
8.0.00.0070.01116.97
7.4.330.0000.00516.83
7.4.320.0060.00016.85
7.4.300.0050.00316.72
7.4.290.0030.00316.65
7.4.280.0040.00416.70
7.4.270.0000.00716.79
7.4.260.0000.00716.65
7.4.250.0050.00216.67
7.4.240.0040.00416.68
7.4.230.0000.00816.87
7.4.220.0090.00916.80
7.4.210.0030.01616.91
7.4.200.0030.00316.88
7.4.150.0120.01217.40
7.4.140.0090.01017.86
7.4.130.0090.00916.69
7.4.120.0100.01116.83
7.4.110.0130.00516.67
7.4.100.0120.00916.75
7.4.90.0070.01716.71
7.4.80.0060.01219.39
7.4.70.0030.01316.76
7.4.60.0030.01516.79
7.4.50.0100.00716.75
7.4.40.0120.00916.88
7.4.30.0100.00716.81
7.4.10.0080.00815.32
7.4.00.0040.01115.22
7.3.330.0020.00313.22
7.3.320.0030.00313.29
7.3.310.0070.00016.49
7.3.300.0030.00316.52
7.3.290.0120.00416.51
7.3.280.0090.01416.55
7.3.270.0060.01117.40
7.3.260.0060.01216.64
7.3.250.0100.00916.84
7.3.240.0090.01116.73
7.3.230.0040.01316.63
7.3.210.0140.00316.47
7.3.200.0120.00616.55
7.3.190.0040.01116.51
7.3.180.0090.00816.67
7.3.170.0090.00616.61
7.3.160.0120.00916.76
7.3.130.0030.01315.05
7.3.120.0070.01015.29
7.3.110.0100.01014.78
7.3.100.0070.00715.15
7.3.90.0040.01114.79
7.3.80.0000.01514.84
7.3.70.0060.00914.96
7.3.60.0030.00615.12
7.3.50.0000.01014.87
7.3.40.0100.00715.15
7.3.30.0070.00715.00
7.3.20.0080.00416.77
7.3.10.0070.00416.84
7.3.00.0070.00416.84
7.2.330.0060.01416.52
7.2.320.0000.01516.88
7.2.310.0130.01016.83
7.2.300.0030.01516.92
7.2.290.0030.01316.57
7.2.260.0110.00615.19
7.2.250.0080.00815.14
7.2.240.0000.01715.21
7.2.230.0040.01215.21
7.2.220.0040.00715.05
7.2.210.0000.01515.09
7.2.200.0000.01715.36
7.2.190.0030.01015.05
7.2.180.0040.01115.02
7.2.170.0030.01015.18
7.2.160.0060.01015.33
7.2.150.0060.00317.07
7.2.140.0060.00917.12
7.2.130.0040.00917.04
7.2.120.0040.00716.91
7.2.110.0090.00416.82
7.2.100.0060.00516.98
7.2.90.0040.00816.91
7.2.80.0060.00716.99
7.2.70.0060.00616.90
7.2.60.0060.00716.77
7.2.50.0100.00516.91
7.2.40.0040.01116.92
7.2.30.0050.00916.91
7.2.20.0060.01017.09
7.2.10.0040.01016.96
7.2.00.0050.00916.81
7.1.330.0040.01116.30
7.1.320.0090.00616.23
7.1.310.0130.00316.25
7.1.300.0060.00316.18
7.1.290.0000.01316.05
7.1.280.0140.00016.05
7.1.270.0100.00316.12
7.1.260.0090.00315.81
7.1.250.0060.00815.97
7.1.240.0030.00616.16
7.1.230.0080.00416.26
7.1.220.0000.01516.09
7.1.210.0110.00316.21
7.1.200.0060.00516.26
7.1.190.0090.00316.14
7.1.180.0000.01216.13
7.1.170.0060.00316.12
7.1.160.0030.00715.86
7.1.150.0090.00616.23
7.1.140.0040.01115.98
7.1.130.0090.00615.95
7.1.120.0030.00915.77
7.1.110.0250.00416.35
7.1.100.0160.01016.44
7.1.90.0240.01116.40
7.1.80.0240.00716.28
7.1.70.0120.00915.90
7.1.60.0220.00924.71
7.1.50.0280.01724.85
7.1.40.0240.00924.77
7.1.30.0340.00524.78
7.1.20.0270.01524.65
7.1.10.0170.01115.78
7.1.00.0140.01215.65
7.0.330.0110.00315.82
7.0.320.0040.01115.93
7.0.310.0060.00615.78
7.0.300.0070.00715.70
7.0.290.0100.00315.76
7.0.280.0060.00615.82
7.0.270.0030.00615.55
7.0.260.0030.00515.79
7.0.250.0240.00716.05
7.0.240.1020.00816.14
7.0.230.0190.00816.11
7.0.220.0100.01115.79
7.0.210.0160.00915.60
7.0.200.0220.01215.43
7.0.190.0220.00815.42
7.0.180.0130.01415.26
7.0.170.0200.00515.34
7.0.160.0220.00715.27
7.0.150.0170.01215.17
7.0.140.0180.00915.34
7.0.130.0250.00815.35
7.0.120.0570.01215.31
7.0.110.0350.01215.22
7.0.100.0210.01015.28
7.0.90.0220.00815.07
7.0.80.0170.00915.38
7.0.70.0170.00715.30
7.0.60.0430.00815.20
7.0.50.0220.01115.18
7.0.40.0200.00514.43
7.0.30.0200.00814.50
7.0.20.0160.00914.27
7.0.10.0130.01214.22
7.0.00.0180.00914.45
5.6.400.0030.00914.59
5.6.390.0060.00914.57
5.6.380.0060.00614.48
5.6.370.0070.00714.66
5.6.360.0030.00914.23
5.6.350.0070.00714.34
5.6.340.0100.00714.57
5.6.330.0030.00714.80
5.6.320.0000.01514.24
5.6.310.0030.01214.35
5.6.300.0070.00714.72
5.6.290.0060.00914.67
5.6.280.0000.01414.54
5.6.270.0100.00014.49
5.6.260.0070.00314.76
5.6.250.0040.01114.36
5.6.240.0030.01014.75
5.6.230.0000.01514.64
5.6.220.0040.00814.75
5.6.210.0000.01214.48
5.6.200.0120.00314.69
5.6.190.0030.00814.50
5.6.180.0030.00714.55
5.6.170.0070.01014.36
5.6.160.0060.00814.56
5.6.150.0080.00414.73
5.6.140.0060.00614.48
5.6.130.0060.00314.52
5.6.120.0000.00914.62
5.6.110.0070.00714.57
5.6.100.0110.00414.46
5.6.90.0110.00414.59
5.6.80.0080.00814.81
5.6.70.0060.00614.47
5.6.60.0000.00814.39
5.6.50.0070.00714.35
5.6.40.0030.00914.35
5.6.30.0070.00714.40
5.6.20.0030.01214.59
5.6.10.0040.01114.45
5.6.00.0030.00614.37

preferences:
218.58 ms | 403 KiB | 5 Q