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); 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.0210.01318.68
8.3.50.0210.00721.04
8.3.40.0230.01018.76
8.3.30.0280.01418.67
8.3.20.0030.01020.35
8.3.10.0040.01123.78
8.3.00.0040.01622.52
8.2.180.0180.01116.49
8.2.170.0090.01322.96
8.2.160.0100.01322.33
8.2.150.0030.00724.18
8.2.140.0130.00524.66
8.2.130.0050.00926.16
8.2.120.0140.00017.63
8.2.110.0140.00022.33
8.2.100.0190.00019.23
8.2.90.0050.00517.88
8.2.80.0040.00719.78
8.2.70.0090.00218.05
8.2.60.0050.00518.04
8.2.50.0070.00318.10
8.2.40.0060.00320.85
8.2.30.0080.00420.11
8.2.20.0060.00317.95
8.2.10.0000.01218.40
8.2.00.0060.00318.31
8.1.280.0190.00425.92
8.1.270.0050.01020.50
8.1.260.0000.01726.35
8.1.250.0120.00028.09
8.1.240.0090.00422.61
8.1.230.0090.00619.42
8.1.220.0060.00618.01
8.1.210.0120.00018.77
8.1.200.0000.01517.60
8.1.190.0110.00417.50
8.1.180.0080.00318.10
8.1.170.0100.00318.91
8.1.160.0100.00022.26
8.1.150.0020.00719.20
8.1.140.0100.00017.77
8.1.130.0030.00818.02
8.1.120.0040.00817.90
8.1.110.0050.00517.78
8.1.100.0000.01217.86
8.1.90.0000.00917.70
8.1.80.0060.00617.67
8.1.70.0060.00317.83
8.1.60.0080.00417.79
8.1.50.0060.00617.82
8.1.40.0060.00317.86
8.1.30.0000.01017.82
8.1.20.0070.00717.92
8.1.10.0070.00217.88
8.1.00.0080.00417.84
8.0.300.0090.00419.51
8.0.290.0000.01016.75
8.0.280.0060.00618.56
8.0.270.0070.00717.57
8.0.260.0040.00417.58
8.0.250.0060.00617.19
8.0.240.0110.00417.17
8.0.230.0040.00817.29
8.0.220.0030.00517.11
8.0.210.0040.00817.17
8.0.200.0030.00717.16
8.0.190.0040.00717.34
8.0.180.0040.00817.15
8.0.170.0060.00617.14
8.0.160.0030.00617.17
8.0.150.0070.00417.11
8.0.140.0040.00817.13
8.0.130.0040.00413.38
8.0.120.0040.00717.04
8.0.110.0000.01217.04
8.0.100.0060.00316.90
8.0.90.0000.01116.90
8.0.80.0320.00516.96
8.0.70.0050.00517.06
8.0.60.0050.00517.04
8.0.50.0000.01017.09
8.0.30.0300.01517.29
8.0.20.0590.01017.40
8.0.10.0050.00517.15
8.0.00.0140.01916.93
7.4.330.0060.00015.08
7.4.320.0030.00816.59
7.4.300.0080.00416.65
7.4.290.0000.01516.58
7.4.280.0070.00716.63
7.4.270.0030.00316.79
7.4.260.0040.00816.71
7.4.250.0040.00816.62
7.4.240.0030.00916.64
7.4.230.0000.01016.74
7.4.220.0110.01916.68
7.4.210.0200.01316.66
7.4.200.0050.00516.74
7.4.160.0440.01616.68
7.4.150.0350.02117.40
7.4.140.0330.02417.86
7.4.130.0300.01916.70
7.4.120.0190.01216.73
7.4.110.0240.01016.77
7.4.100.0620.02316.62
7.4.90.0310.01816.79
7.4.80.0430.01919.39
7.4.70.0290.02016.73
7.4.60.0500.01316.71
7.4.50.0140.00716.82
7.4.40.0290.02516.68
7.4.30.0310.00516.91
7.4.00.0140.00714.89
7.3.330.0030.00313.25
7.3.320.0030.00513.30
7.3.310.0100.00016.36
7.3.300.0030.00716.49
7.3.290.0090.00016.61
7.3.280.0240.01816.54
7.3.270.0240.03017.40
7.3.260.0520.00816.45
7.3.250.0440.02316.56
7.3.240.0300.01416.50
7.3.230.0330.01816.45
7.3.210.0190.01916.53
7.3.200.0210.01919.39
7.3.190.0290.01916.74
7.3.180.0040.02616.44
7.3.170.0280.01116.67
7.3.160.0190.02216.60
7.2.330.1170.01316.74
7.2.320.0790.04316.71
7.2.310.0350.01416.98
7.2.300.0310.02116.89
7.2.290.0400.01616.92
7.2.60.0100.00717.12
7.2.00.0100.01019.55
7.1.200.0200.00015.98
7.1.100.0120.00617.97
7.1.70.0000.00717.12
7.1.60.0130.01320.03
7.1.50.0100.01617.22
7.1.00.0170.08722.54
7.0.200.0180.00317.02
7.0.120.0100.07322.28
7.0.110.0030.08022.25
7.0.100.0070.07322.21
7.0.90.0030.08322.50
7.0.80.0000.08022.39
7.0.70.0100.07322.41
7.0.60.0030.07322.33
7.0.50.0130.06322.34
7.0.40.0000.07722.43
7.0.30.0070.07322.20
7.0.20.0070.07322.44
7.0.10.0030.07722.31
7.0.00.0130.06722.33
5.6.280.0030.07321.11
5.6.260.0130.06320.89
5.6.250.0070.07021.13
5.6.240.0030.07720.76
5.6.230.0070.07320.99
5.6.220.0070.09021.05
5.6.210.0070.07020.68
5.6.200.0100.07020.84
5.6.190.0030.07321.01
5.6.180.0030.07321.06
5.6.170.0030.07320.86
5.6.160.0000.07720.95
5.6.150.0030.07020.93
5.6.140.0200.06021.05
5.6.130.0030.07321.01
5.6.120.0070.07320.93
5.6.110.0070.07020.79
5.6.100.0000.08020.93
5.6.90.0030.06321.07
5.6.80.0030.07020.44
5.6.70.0070.06320.20
5.6.60.0030.07320.14
5.6.50.0000.07320.39
5.6.40.0100.06320.30
5.6.30.0030.06720.26
5.6.20.0100.06720.44
5.6.10.0130.05720.45
5.6.00.0030.07020.46
5.5.380.0000.07317.69
5.5.370.0070.06717.60
5.5.360.0030.07317.55
5.5.350.0030.07017.59
5.5.340.0030.07018.05
5.5.330.0070.07018.09
5.5.320.0100.06018.26
5.5.310.0030.07018.13
5.5.300.0000.07718.25
5.5.290.0030.06718.10
5.5.280.0000.07717.91
5.5.270.0000.07717.92
5.5.260.0000.07318.09
5.5.250.0030.07318.03
5.5.240.0070.06017.62
5.5.230.0000.07317.45
5.5.220.0100.06017.63
5.5.210.0000.07017.34
5.5.200.0070.06317.49
5.5.190.0100.06317.42
5.5.180.0030.07317.54
5.5.160.0000.07017.26
5.5.150.0000.07317.40
5.5.140.0030.07017.57
5.5.130.0030.05717.31
5.5.120.0030.07017.28
5.5.110.0000.06717.27
5.5.100.0030.07017.09
5.5.90.0070.06717.35
5.5.80.0000.06717.30
5.5.70.0070.06717.15
5.5.60.0000.07017.16
5.5.50.0000.07017.33
5.5.40.0030.06317.34
5.5.30.0030.06717.07
5.5.20.0030.07017.39
5.5.10.0000.07017.34
5.5.00.0030.07017.32
5.4.450.0030.07319.34
5.4.440.0030.07319.50
5.4.430.0030.06719.63
5.4.420.0030.06719.46
5.4.410.0030.06019.53
5.4.400.0070.06319.31
5.4.390.0100.06319.10
5.4.380.0000.07019.18
5.4.370.0030.06319.08
5.4.360.0000.06719.13
5.4.350.0070.06319.21
5.4.340.0030.06319.33
5.4.320.0030.06718.99
5.4.310.0070.06019.24
5.4.300.0000.06319.18
5.4.290.0000.07019.21
5.4.280.0000.07019.05
5.4.270.0000.07019.00
5.4.260.0170.04719.17
5.4.250.0030.06319.32
5.4.240.0000.07018.97
5.4.230.0000.07019.30
5.4.220.0030.07019.02
5.4.210.0030.06318.99
5.4.200.0070.05719.01
5.4.190.0030.06318.98
5.4.180.0000.07019.02
5.4.170.0070.06319.32
5.4.160.0070.06018.97
5.4.150.0070.06719.22
5.4.140.0000.06316.63
5.4.130.0030.06316.43
5.4.120.0030.06316.34
5.4.110.0030.06716.46
5.4.100.0030.06316.31
5.4.90.0070.06016.55
5.4.80.0030.05716.53
5.4.70.0000.06316.24
5.4.60.0000.06316.64
5.4.50.0030.06016.30
5.4.40.0030.06316.52
5.4.30.0070.06016.55
5.4.20.0000.06716.38
5.4.10.0000.07016.47
5.4.00.0000.06715.79

preferences:
39.32 ms | 401 KiB | 5 Q