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.0060.01018.80
8.3.50.0060.01316.51
8.3.40.0200.00318.93
8.3.30.0120.00318.97
8.3.20.0040.00420.41
8.3.10.0040.00423.86
8.3.00.0000.00822.76
8.2.180.0120.00917.13
8.2.170.0090.00622.96
8.2.160.0100.01022.20
8.2.150.0090.00024.18
8.2.140.0060.00924.66
8.2.130.0040.00426.16
8.2.120.0030.00617.75
8.2.110.0060.00322.37
8.2.100.0060.00618.09
8.2.90.0040.00417.88
8.2.80.0090.00018.00
8.2.70.0050.00318.18
8.2.60.0080.00018.17
8.2.50.0030.00518.10
8.2.40.0050.00320.67
8.2.30.0000.00819.98
8.2.20.0030.00617.86
8.2.10.0030.00518.26
8.2.00.0040.00418.23
8.1.280.0110.00425.92
8.1.270.0060.00320.63
8.1.260.0050.00326.35
8.1.250.0090.00028.09
8.1.240.0030.00624.05
8.1.230.0040.00819.47
8.1.220.0000.00918.02
8.1.210.0040.00418.77
8.1.200.0000.00917.60
8.1.190.0040.00417.60
8.1.180.0080.00018.10
8.1.170.0030.00618.96
8.1.160.0040.00422.29
8.1.150.0040.00419.14
8.1.140.0040.00417.67
8.1.130.0040.00417.96
8.1.120.0000.00817.63
8.1.110.0000.00717.80
8.1.100.0040.00417.75
8.1.90.0000.00717.55
8.1.80.0000.00717.71
8.1.70.0040.00417.59
8.1.60.0030.00517.76
8.1.50.0000.00817.68
8.1.40.0030.00617.86
8.1.30.0050.00317.88
8.1.20.0030.00617.85
8.1.10.0040.00417.81
8.1.00.0000.00917.78
8.0.300.0040.00419.83
8.0.290.0080.00017.13
8.0.280.0000.00818.61
8.0.270.0050.00317.43
8.0.260.0050.00317.60
8.0.250.0000.00917.34
8.0.240.0040.00417.35
8.0.230.0080.00017.17
8.0.220.0000.00717.24
8.0.210.0080.00017.13
8.0.200.0030.00317.34
8.0.190.0030.00517.38
8.0.180.0030.00517.34
8.0.170.0060.00317.21
8.0.160.0070.00017.30
8.0.150.0040.00417.16
8.0.140.0000.00717.18
8.0.130.0060.00013.29
8.0.120.0030.00517.08
8.0.110.0030.00617.23
8.0.100.0050.00317.16
8.0.90.0030.00517.07
8.0.80.0120.00317.27
8.0.70.0040.00417.16
8.0.60.0000.00717.00
8.0.50.0080.00017.28
8.0.30.0070.01317.27
8.0.20.0130.00817.56
8.0.10.0000.00717.40
8.0.00.0140.00717.02
7.4.330.0000.00515.08
7.4.320.0060.00616.69
7.4.300.0000.01016.76
7.4.290.0040.00416.63
7.4.280.0110.00016.74
7.4.270.0000.01116.75
7.4.260.0100.00016.55
7.4.250.0030.00616.55
7.4.240.0040.00416.75
7.4.230.0000.01016.81
7.4.220.0130.01416.68
7.4.210.0150.01316.76
7.4.200.0030.00716.55
7.4.160.0300.01516.60
7.4.150.0140.01417.40
7.4.140.0160.01617.86
7.4.130.0260.01816.68
7.4.120.0210.01216.77
7.4.110.0620.01616.82
7.4.100.0810.03716.64
7.4.90.0150.00916.81
7.4.80.0210.02119.39
7.4.70.0150.01016.84
7.4.60.0360.00816.81
7.4.50.0060.00616.64
7.4.40.0160.01316.72
7.4.30.0210.00916.60
7.4.00.0030.01715.38
7.3.330.0060.00013.23
7.3.320.0040.00313.30
7.3.310.0040.00716.50
7.3.300.0000.00916.47
7.3.290.0080.00016.45
7.3.280.0140.01116.52
7.3.270.0230.01417.40
7.3.260.0390.01416.74
7.3.250.0320.01716.63
7.3.240.0290.01316.68
7.3.230.0240.01016.63
7.3.210.0510.02416.59
7.3.200.0210.03419.39
7.3.190.0120.00616.65
7.3.180.0300.01816.47
7.3.170.0420.01016.63
7.3.160.0430.01916.46
7.2.330.0890.01716.82
7.2.320.0290.02316.98
7.2.310.0740.00416.89
7.2.300.0380.00817.00
7.2.290.0450.02916.70
7.2.60.0070.01217.07
7.2.00.0240.01019.53
7.1.200.0030.01215.67
7.1.100.0130.01017.98
7.1.70.0000.00817.05
7.1.60.0090.00420.03
7.1.50.0060.01217.20
7.1.00.0170.06322.54
7.0.200.0030.01017.13
7.0.120.0000.07722.24
7.0.110.0070.07022.22
7.0.100.0000.07022.23
7.0.90.0000.07722.30
7.0.80.0030.06722.32
7.0.70.0070.07322.28
7.0.60.0030.07722.28
7.0.50.0070.07322.30
7.0.40.0030.06722.27
7.0.30.0100.07022.39
7.0.20.0070.07322.42
7.0.10.0070.05722.23
7.0.00.0070.06322.19
5.6.280.0070.06320.90
5.6.260.0030.07320.97
5.6.250.0000.07320.79
5.6.240.0070.06321.11
5.6.230.0000.07321.09
5.6.220.0030.07321.02
5.6.210.0030.07021.07
5.6.200.0030.07721.07
5.6.190.0000.08020.92
5.6.180.0030.07020.75
5.6.170.0000.07321.04
5.6.160.0070.07021.07
5.6.150.0000.08020.75
5.6.140.0000.08021.03
5.6.130.0070.07020.83
5.6.120.0100.07020.83
5.6.110.0000.08021.05
5.6.100.0070.05721.07
5.6.90.0070.06321.04
5.6.80.0130.06020.14
5.6.70.0100.05320.30
5.6.60.0030.06720.41
5.6.50.0100.06020.44
5.6.40.0030.07020.37
5.6.30.0000.06320.19
5.6.20.0000.07720.39
5.6.10.0070.06720.40
5.6.00.0030.06020.39
5.5.380.0030.06717.47
5.5.370.0000.06717.60
5.5.360.0000.07717.55
5.5.350.0000.07317.53
5.5.340.0170.05718.10
5.5.330.0000.07318.27
5.5.320.0070.06018.05
5.5.310.0070.06718.25
5.5.300.0030.07017.92
5.5.290.0070.07017.82
5.5.280.0000.07318.22
5.5.270.0070.07318.09
5.5.260.0030.06717.94
5.5.250.0030.07317.72
5.5.240.0030.07017.32
5.5.230.0030.07317.34
5.5.220.0070.06017.20
5.5.210.0000.07017.53
5.5.200.0000.07017.43
5.5.190.0000.07317.48
5.5.180.0070.06717.30
5.5.160.0000.06317.60
5.5.150.0030.05017.60
5.5.140.0030.07017.44
5.5.130.0070.04717.30
5.5.120.0000.06717.30
5.5.110.0000.07317.45
5.5.100.0030.07017.21
5.5.90.0070.05017.30
5.5.80.0030.06717.30
5.5.70.0100.06317.36
5.5.60.0030.05717.33
5.5.50.0070.06317.19
5.5.40.0030.06717.28
5.5.30.0000.07017.05
5.5.20.0030.06317.33
5.5.10.0000.07317.15
5.5.00.0030.07017.36
5.4.450.0000.07719.50
5.4.440.0000.07719.60
5.4.430.0000.07319.32
5.4.420.0000.07319.31
5.4.410.0030.06719.21
5.4.400.0000.07019.26
5.4.390.0000.07019.08
5.4.380.0070.06019.33
5.4.370.0030.06319.13
5.4.360.0000.07318.94
5.4.350.0030.06719.09
5.4.340.0070.06719.33
5.4.320.0000.07319.02
5.4.310.0000.06019.13
5.4.300.0070.05719.21
5.4.290.0030.05019.23
5.4.280.0100.06319.21
5.4.270.0000.07019.14
5.4.260.0070.06319.32
5.4.250.0000.07019.16
5.4.240.0030.06319.16
5.4.230.0030.06719.13
5.4.220.0070.06719.16
5.4.210.0000.06718.99
5.4.200.0030.06719.07
5.4.190.0070.05719.15
5.4.180.0070.06318.98
5.4.170.0000.07318.93
5.4.160.0070.06019.08
5.4.150.0030.06718.97
5.4.140.0030.05716.55
5.4.130.0000.05016.52
5.4.120.0030.05016.37
5.4.110.0070.06316.57
5.4.100.0030.05716.45
5.4.90.0000.06716.47
5.4.80.0030.06316.52
5.4.70.0000.06016.63
5.4.60.0070.05316.54
5.4.50.0000.06716.51
5.4.40.0030.06016.60
5.4.30.0000.06716.46
5.4.20.0000.06716.62
5.4.10.0070.06016.38
5.4.00.0030.06315.79

preferences:
39.5 ms | 400 KiB | 5 Q