3v4l.org

run code in 300+ PHP versions simultaneously
<?php $allIntlCharConstants = (new ReflectionClass('IntlChar'))->getConstants(); $constants = array_filter($allIntlCharConstants, function($name){ return strpos('CHAR_CATEGORY_', $name) !== false; }); var_dump($constants); 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.0070.01118.43
8.3.50.0410.01916.81
8.3.40.0160.00419.02
8.3.30.0120.00919.02
8.3.20.0070.00320.33
8.3.10.0040.00423.65
8.3.00.0120.00322.74
8.2.180.0080.01116.75
8.2.170.0070.01122.96
8.2.160.0150.01122.21
8.2.150.0130.00724.18
8.2.140.0030.00624.66
8.2.130.0100.00026.16
8.2.120.0070.00417.88
8.2.110.0080.00421.30
8.2.100.0130.00018.34
8.2.90.0090.00019.47
8.2.80.0030.00718.16
8.2.70.0050.00517.88
8.2.60.0000.01018.17
8.2.50.0030.00619.46
8.2.40.0080.00021.30
8.2.30.0040.00420.11
8.2.20.0080.00017.92
8.2.10.0040.00418.39
8.2.00.0040.00418.38
8.1.280.0160.00625.92
8.1.270.0030.00720.51
8.1.260.0030.00626.35
8.1.250.0000.01028.09
8.1.240.0110.00024.07
8.1.230.0170.00017.77
8.1.220.0000.00918.03
8.1.210.0030.00618.77
8.1.200.0000.00917.73
8.1.190.0060.00317.60
8.1.180.0040.00718.10
8.1.170.0030.00518.86
8.1.160.0030.00622.40
8.1.150.0060.00319.13
8.1.140.0060.00317.79
8.1.130.0040.00418.09
8.1.120.0040.00417.83
8.1.110.0030.00617.77
8.1.100.0000.00817.77
8.1.90.0060.00317.74
8.1.80.0030.00617.76
8.1.70.0050.00317.85
8.1.60.0060.00317.91
8.1.50.0050.00517.84
8.1.40.0120.00017.73
8.1.30.0030.00617.91
8.1.20.0060.00317.82
8.1.10.0070.00417.77
8.1.00.0000.00817.82
8.0.300.0030.00518.77
8.0.290.0040.00416.88
8.0.280.0030.00518.64
8.0.270.0000.00917.37
8.0.260.0080.00017.37
8.0.250.0050.00317.25
8.0.240.0000.00917.30
8.0.230.0030.00617.11
8.0.220.0080.00016.95
8.0.210.0000.00917.02
8.0.200.0040.00417.25
8.0.190.0090.00317.03
8.0.180.0000.00917.10
8.0.170.0090.00017.06
8.0.160.0000.00917.29
8.0.150.0030.00617.07
8.0.140.0000.00917.00
8.0.130.0060.00313.30
8.0.120.0050.00316.96
8.0.110.0040.00417.02
8.0.100.0050.00317.19
8.0.90.0040.00417.05
8.0.80.0120.00917.00
8.0.70.0040.00417.07
8.0.60.0050.00317.10
8.0.50.0000.00917.13
8.0.30.0160.01917.25
8.0.20.0190.01817.40
8.0.10.0030.00617.33
8.0.00.0210.01316.81
7.4.330.0050.00015.08
7.4.320.0030.00316.45
7.4.300.0060.00016.52
7.4.290.0070.00016.55
7.4.280.0040.00416.52
7.4.270.0030.00316.45
7.4.260.0000.00816.56
7.4.250.0000.00816.32
7.4.240.0030.00416.46
7.4.230.0040.00416.41
7.4.220.0140.01016.47
7.4.210.0090.00916.49
7.4.200.0000.00716.45
7.4.160.0040.01416.54
7.4.150.0080.01217.40
7.4.140.0120.00717.86
7.4.130.0080.01616.49
7.4.120.0130.00616.64
7.4.110.0190.00416.52
7.4.100.0230.01916.45
7.4.90.0120.00616.53
7.4.80.0100.01019.39
7.4.70.0140.00416.57
7.4.60.0090.00916.53
7.4.50.0000.00816.44
7.4.40.0100.01116.62
7.4.30.0060.01216.51
7.4.00.0070.00714.88
7.3.330.0000.00713.33
7.3.320.0070.00013.28
7.3.310.0000.00716.31
7.3.300.0030.00316.27
7.3.290.0000.00916.17
7.3.280.0050.01516.23
7.3.270.0190.00017.40
7.3.260.0050.01416.59
7.3.250.0100.00816.25
7.3.240.0050.01616.30
7.3.230.0110.00816.39
7.3.210.0070.01116.17
7.3.200.0170.00019.39
7.3.190.0120.00916.34
7.3.180.0120.00816.46
7.3.170.0090.00916.62
7.3.160.0140.01116.33
7.2.330.0150.01516.78
7.2.320.0140.01416.68
7.2.310.0330.02416.92
7.2.300.0150.01916.63
7.2.290.0990.01916.77
7.2.60.0070.01016.89
7.2.00.0030.01019.39
7.1.200.0120.00816.04
7.1.100.0110.00917.89
7.1.70.0000.00717.33
7.1.60.0130.01019.52
7.1.50.0130.01017.27
7.1.00.0100.07322.41
7.0.200.0160.00317.13
7.0.120.0030.05322.20
7.0.110.0070.08022.41
7.0.100.0070.07022.33
7.0.90.0100.07022.38
7.0.80.0100.07322.30
7.0.70.0030.08022.21
7.0.60.0070.07322.34
7.0.50.0070.07722.31
7.0.40.0170.05322.28
7.0.30.0030.06022.20
7.0.20.0100.06722.44
7.0.10.0030.07322.25
7.0.00.0070.07322.32
5.6.280.0000.06720.87
5.6.260.0030.06021.13
5.6.250.0000.07721.12
5.6.240.0030.07720.84
5.6.230.0100.07020.88
5.6.220.0000.07320.78
5.6.210.0030.07020.98
5.6.200.0030.07320.90
5.6.190.0000.07720.95
5.6.180.0030.04720.94
5.6.170.0000.07021.06
5.6.160.0100.06321.06
5.6.150.0030.07020.84
5.6.140.0030.07321.08
5.6.130.0070.07020.75
5.6.120.0100.07020.92
5.6.110.0070.07321.00
5.6.100.0000.08021.07
5.6.90.0030.07021.02
5.6.80.0000.06720.41
5.6.70.0070.06720.21
5.6.60.0000.07720.31
5.6.50.0030.06720.45
5.6.40.0030.06720.39
5.6.30.0100.06320.21
5.6.20.0000.07720.36
5.6.10.0100.06320.39
5.6.00.0130.06020.42
5.5.380.0030.07317.56
5.5.370.0030.07017.64
5.5.360.0030.07017.58
5.5.350.0030.07017.68
5.5.340.0000.07017.93
5.5.330.0030.07018.23
5.5.320.0000.07318.12
5.5.310.0000.07717.91
5.5.300.0100.06718.09
5.5.290.0030.07317.79
5.5.280.0030.07718.12
5.5.270.0030.07717.90
5.5.260.0000.07718.21
5.5.250.0030.07317.74
5.5.240.0000.06017.30
5.5.230.0000.07317.47
5.5.220.0030.06317.46
5.5.210.0030.06717.34
5.5.200.0000.07017.48
5.5.190.0030.06017.47
5.5.180.0030.07017.45
5.5.160.0030.06717.28
5.5.150.0070.06317.45
5.5.140.0070.06317.48
5.5.130.0030.07017.44
5.5.120.0100.06017.43
5.5.110.0070.06717.27
5.5.100.0030.07017.50
5.5.90.0100.06017.17
5.5.80.0030.06317.07
5.5.70.0000.06717.07
5.5.60.0070.06317.47
5.5.50.0000.06017.42
5.5.40.0030.06717.16
5.5.30.0000.07017.35
5.5.20.0030.07017.31
5.5.10.0070.05717.37
5.5.00.0070.07017.32
5.4.450.0070.07019.32
5.4.440.0030.07319.40
5.4.430.0070.06019.34
5.4.420.0030.06719.34
5.4.410.0000.07019.13
5.4.400.0070.06019.02
5.4.390.0000.06319.22
5.4.380.0000.05718.93
5.4.370.0030.06319.13
5.4.360.0000.06019.15
5.4.350.0030.06718.94
5.4.340.0070.06319.01
5.4.320.0000.07719.01
5.4.310.0070.06319.13
5.4.300.0000.07019.13
5.4.290.0130.05719.32
5.4.280.0000.07319.13
5.4.270.0000.06719.02
5.4.260.0070.06319.09
5.4.250.0100.06319.16
5.4.240.0070.05718.99
5.4.230.0070.06319.01
5.4.220.0070.06719.32
5.4.210.0100.06319.32
5.4.200.0030.06718.93
5.4.190.0030.06719.29
5.4.180.0070.05318.99
5.4.170.0070.05719.22
5.4.160.0000.07019.11
5.4.150.0000.07319.15
5.4.140.0030.07016.53
5.4.130.0030.06316.50
5.4.120.0030.06316.62
5.4.110.0100.04716.50
5.4.100.0030.05016.58
5.4.90.0070.06016.40
5.4.80.0000.06716.51
5.4.70.0000.06316.54
5.4.60.0030.06316.43
5.4.50.0070.06016.55
5.4.40.0100.05716.38
5.4.30.0070.06016.44
5.4.20.0100.05716.28
5.4.10.0000.06716.37
5.4.00.0070.05715.79

preferences:
45.37 ms | 400 KiB | 5 Q