3v4l.org

run code in 300+ PHP versions simultaneously
<?php $allIntlCharConstants = (new ReflectionClass('IntlChar'))->getConstants(); $constants = array_filter($allIntlCharConstants, function($name){ return strpos($name, 'CHAR_CATEGORY_') === 0; }, ARRAY_FILTER_USE_KEY); IntlChar::enumCharTypes(function($start, $end, $type) use ($constants) { printf("U+%04x through U+%04x are in category %d\n", $start, $end, array_search($type, $constants)); });

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.00618.56
8.3.50.0120.00921.13
8.3.40.0100.00618.93
8.3.30.0070.01518.79
8.3.20.0080.00020.36
8.3.10.0080.00023.90
8.3.00.0040.00422.70
8.2.180.0060.01016.75
8.2.170.0120.00322.96
8.2.160.0040.01122.26
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0030.00626.16
8.2.120.0030.00717.61
8.2.110.0050.00519.42
8.2.100.0100.00317.91
8.2.90.0000.00818.47
8.2.80.0030.00617.97
8.2.70.0080.00018.05
8.2.60.0040.00418.18
8.2.50.0040.00418.18
8.2.40.0020.00720.77
8.2.30.0000.00820.11
8.2.20.0030.00617.95
8.2.10.0050.00318.27
8.2.00.0060.00318.30
8.1.280.0120.00625.92
8.1.270.0000.00820.65
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0080.00322.77
8.1.230.0120.00021.13
8.1.220.0090.00018.03
8.1.210.0060.00319.16
8.1.200.0030.00617.73
8.1.190.0000.00817.73
8.1.180.0040.00418.10
8.1.170.0060.00618.84
8.1.160.0040.00422.43
8.1.150.0050.00319.21
8.1.140.0080.00017.69
8.1.130.0050.00517.74
8.1.120.0040.00417.75
8.1.110.0040.00417.83
8.1.100.0040.00417.84
8.1.90.0030.00517.73
8.1.80.0040.00417.81
8.1.70.0000.00817.77
8.1.60.0080.00017.92
8.1.50.0030.00517.90
8.1.40.0090.00317.87
8.1.30.0040.00417.86
8.1.20.0030.00617.80
8.1.10.0080.00017.82
8.1.00.0080.00017.84
8.0.300.0040.00420.23
8.0.290.0060.00316.88
8.0.280.0000.00718.64
8.0.270.0000.00717.55
8.0.260.0070.00017.02
8.0.250.0000.00817.24
8.0.240.0080.00017.30
8.0.230.0060.00317.16
8.0.220.0000.00717.06
8.0.210.0070.00017.21
8.0.200.0000.00717.28
8.0.190.0040.00417.09
8.0.180.0000.00817.03
8.0.170.0000.00817.16
8.0.160.0000.00817.13
8.0.150.0040.00417.06
8.0.140.0040.00417.11
8.0.130.0090.00713.34
8.0.120.0040.00416.91
8.0.110.0030.00616.93
8.0.100.0040.00416.92
8.0.90.0040.00417.09
8.0.80.0070.01017.06
8.0.70.0000.00817.03
8.0.60.0060.00317.01
8.0.50.0040.00416.98
8.0.30.0160.00617.08
8.0.20.0140.01217.40
8.0.10.0040.00417.16
8.0.00.0090.01316.91
7.4.330.0000.00615.08
7.4.320.0070.00016.75
7.4.300.0040.00416.73
7.4.290.0000.00816.65
7.4.280.0050.00316.77
7.4.270.0000.00716.63
7.4.260.0040.00416.53
7.4.250.0040.00416.68
7.4.240.0030.00516.71
7.4.230.0000.00716.64
7.4.220.0070.01416.74
7.4.210.0080.01316.78
7.4.200.0090.00016.82
7.4.160.0150.00416.61
7.4.150.0160.01117.40
7.4.140.0200.00917.86
7.4.130.0080.01216.76
7.4.120.0080.01416.83
7.4.110.0170.00716.76
7.4.100.0090.01816.68
7.4.90.0210.01016.75
7.4.80.0090.01219.39
7.4.70.0080.01616.82
7.4.60.0130.00816.65
7.4.50.0060.00316.84
7.4.40.0150.00916.68
7.4.30.0100.01016.68
7.4.00.0070.00715.06
7.3.330.0030.00313.13
7.3.320.0030.00313.10
7.3.310.0050.00316.39
7.3.300.0070.00016.36
7.3.290.0000.00816.39
7.3.280.0120.01116.43
7.3.270.0120.01617.40
7.3.260.0090.01516.50
7.3.250.0100.01516.60
7.3.240.0180.00916.46
7.3.230.0170.01016.85
7.3.210.0170.01116.45
7.3.200.0140.01819.39
7.3.190.0090.01216.55
7.3.180.0190.00316.61
7.3.170.0100.01116.86
7.3.160.0160.01316.42
7.2.330.0170.00616.92
7.2.320.0100.01016.61
7.2.310.0150.00916.69
7.2.300.0160.00316.74
7.2.290.0220.01216.61
7.2.60.0060.00917.09
7.2.00.0000.01719.64
7.1.200.0060.01015.86
7.1.100.0130.00917.95
7.1.70.0000.01117.26
7.1.60.0100.01020.03
7.1.50.0080.00817.06
7.1.00.0070.07322.54
7.0.200.0000.00916.94
7.0.100.0600.07320.16
7.0.90.0570.07720.18
7.0.80.0470.07320.08
7.0.70.0500.07720.12
7.0.60.0530.07720.24
7.0.50.0530.07320.59
7.0.40.0030.08720.36
7.0.30.0100.08320.14
7.0.20.0000.08320.19
7.0.10.0170.07720.13
7.0.00.0100.08020.29
5.6.280.0000.07720.82
5.6.250.0000.08320.65
5.6.240.0100.06020.66
5.6.230.0070.08320.61
5.6.220.0000.08320.63
5.6.210.0070.05320.67
5.6.200.0070.05021.05
5.6.190.0100.04321.09
5.6.180.0100.08021.07
5.6.170.0130.08021.03
5.6.160.0170.07021.07
5.6.150.0000.08721.06
5.6.140.0030.08321.13
5.6.130.0100.08721.18
5.6.120.0030.08021.18
5.6.110.0100.07721.02
5.6.100.0000.08021.07
5.6.90.0000.07021.09
5.6.80.0070.08020.56
5.6.70.0070.05020.49
5.6.60.0100.08020.40
5.6.50.0100.07720.45
5.6.40.0070.08320.37
5.6.30.0070.04320.43
5.6.20.0170.07320.36
5.6.10.0030.07720.41
5.6.00.0000.08320.43
5.5.380.0100.08020.35
5.5.370.0000.08720.38
5.5.360.0070.07720.43
5.5.350.0170.06320.39
5.5.340.0130.06320.87
5.5.330.0230.07320.93
5.5.320.0070.07320.85
5.5.310.0070.06720.84
5.5.300.0030.08020.80
5.5.290.0100.07720.75
5.5.280.0100.07320.93
5.5.270.0130.07720.84
5.5.260.0070.07720.92
5.5.250.0100.07020.72
5.5.240.0070.07320.20
5.5.230.0100.08020.27
5.5.220.0100.05020.14
5.5.210.0070.07020.26
5.5.200.0070.07720.29
5.5.190.0070.05320.20
5.5.180.0030.05020.19
5.5.160.0000.08020.16
5.5.150.0170.06720.00
5.5.140.0070.06020.07
5.5.130.0230.06319.98
5.5.120.0100.06720.28
5.5.110.0030.08020.18
5.5.100.0030.07320.18
5.5.90.0030.08320.07
5.5.80.0070.07320.08
5.5.70.0030.08020.10
5.5.60.0170.06720.11
5.5.50.0070.08020.09
5.5.40.0130.06720.02
5.5.30.0070.08020.10
5.5.20.0000.08320.09
5.5.10.0130.07319.98
5.5.00.0100.07320.07
5.4.450.0100.07319.46
5.4.440.0070.06719.58
5.4.430.0070.07319.48
5.4.420.0100.08019.53
5.4.410.0170.05719.14
5.4.400.0100.06319.23
5.4.390.0070.07718.86
5.4.380.0200.05719.13
5.4.370.0170.06019.16
5.4.360.0030.06719.21
5.4.350.0000.08319.23
5.4.340.0100.07019.16
5.4.320.0070.08018.88
5.4.310.0100.07019.12
5.4.300.0070.07019.14
5.4.290.0130.07019.18
5.4.280.0130.07319.18
5.4.270.0030.05018.89
5.4.260.0170.05318.95
5.4.250.0030.08019.15
5.4.240.0070.07319.20
5.4.230.0130.07019.03
5.4.220.0070.07319.12
5.4.210.0130.06719.18
5.4.200.0070.06019.03
5.4.190.0070.08018.86
5.4.180.0070.08018.89
5.4.170.0130.04019.03
5.4.160.0170.05019.03
5.4.150.0030.08319.02
5.4.140.0270.05316.41
5.4.130.0200.05316.41
5.4.120.0100.06716.37
5.4.110.0070.07016.47
5.4.100.0070.06716.36
5.4.90.0070.07316.43
5.4.80.0070.07316.31
5.4.70.0070.06716.33
5.4.60.0070.07316.47
5.4.50.0100.06716.33
5.4.40.0030.07316.57
5.4.30.0130.07316.38
5.4.20.0070.07016.36
5.4.10.0030.07716.38
5.4.00.0100.07315.86

preferences:
72.08 ms | 401 KiB | 5 Q