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) === 0; }); 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.0160.01018.68
8.3.50.0070.01116.41
8.3.40.0200.00718.96
8.3.30.0140.00318.93
8.3.20.0070.00320.43
8.3.10.0030.00623.71
8.3.00.0100.00322.56
8.2.180.0110.01118.66
8.2.170.0110.00722.96
8.2.160.0130.00622.39
8.2.150.0070.01124.18
8.2.140.0060.00324.66
8.2.130.0040.00726.16
8.2.120.0030.00717.75
8.2.110.0090.00321.29
8.2.100.0100.00318.03
8.2.90.0060.00318.53
8.2.80.0080.00020.61
8.2.70.0080.00017.75
8.2.60.0060.00317.75
8.2.50.0030.00617.55
8.2.40.0030.00619.60
8.2.30.0060.00320.02
8.2.20.0030.00617.95
8.2.10.0000.00818.27
8.2.00.0080.00018.29
8.1.280.0180.00625.92
8.1.270.0100.00020.67
8.1.260.0060.00326.35
8.1.250.0030.00728.09
8.1.240.0110.00022.45
8.1.230.0030.00921.03
8.1.220.0060.00318.16
8.1.210.0060.00319.27
8.1.200.0040.00417.73
8.1.190.0040.00417.60
8.1.180.0030.00622.12
8.1.170.0000.00817.62
8.1.160.0050.00322.19
8.1.150.0050.00319.21
8.1.140.0040.00417.78
8.1.130.0040.00417.88
8.1.120.0000.00817.78
8.1.110.0030.00617.79
8.1.100.0050.00317.82
8.1.90.0000.00817.73
8.1.80.0000.00917.66
8.1.70.0000.00817.76
8.1.60.0040.00418.00
8.1.50.0040.00417.84
8.1.40.0040.00717.89
8.1.30.0070.00317.85
8.1.20.0060.00317.90
8.1.10.0000.00817.95
8.1.00.0090.00017.91
8.0.300.0000.00820.07
8.0.290.0030.00716.88
8.0.280.0050.00318.55
8.0.270.0040.00417.50
8.0.260.0050.00217.50
8.0.250.0000.00817.22
8.0.240.0060.00317.27
8.0.230.0030.00617.09
8.0.220.0040.00417.15
8.0.210.0000.00917.03
8.0.200.0050.00317.08
8.0.190.0050.00517.19
8.0.180.0000.00817.07
8.0.170.0040.00417.17
8.0.160.0060.00317.10
8.0.150.0040.00417.12
8.0.140.0040.00417.08
8.0.130.0030.00313.42
8.0.120.0060.00617.13
8.0.110.0050.00316.93
8.0.100.0060.00316.92
8.0.90.0080.00016.92
8.0.80.0070.01817.06
8.0.70.0030.00616.92
8.0.60.0030.00516.89
8.0.50.0040.00417.05
8.0.30.0230.01617.35
8.0.20.0160.02417.48
8.0.10.0030.00517.14
8.0.00.0130.01716.88
7.4.330.0020.00215.11
7.4.320.0060.00016.50
7.4.300.0060.00016.47
7.4.290.0000.00716.47
7.4.280.0030.00516.57
7.4.270.0070.00016.34
7.4.260.0000.00716.55
7.4.250.0040.00416.54
7.4.240.0040.00316.49
7.4.230.0070.00016.57
7.4.220.0210.00916.58
7.4.210.0050.01716.55
7.4.200.0000.00716.20
7.4.160.0060.01016.48
7.4.150.0060.01617.40
7.4.140.0090.01217.86
7.4.130.0060.01316.49
7.4.120.0090.00916.59
7.4.110.0040.01716.41
7.4.100.0100.01116.42
7.4.90.0110.00816.58
7.4.80.0130.00619.39
7.4.70.0120.00616.52
7.4.60.0100.00916.56
7.4.50.0030.00316.47
7.4.40.0090.01216.58
7.4.30.0120.01216.48
7.4.00.0080.00814.58
7.3.330.0050.00013.23
7.3.320.0030.00313.30
7.3.310.0040.00416.29
7.3.300.0030.00316.24
7.3.290.0000.00716.15
7.3.280.0110.00816.26
7.3.270.0100.00917.40
7.3.260.0090.01016.39
7.3.250.0080.01116.34
7.3.240.0080.01116.44
7.3.230.0080.01116.39
7.3.210.0120.00916.26
7.3.200.0130.00419.39
7.3.190.0100.01016.18
7.3.180.0100.00616.58
7.3.170.0090.00916.27
7.3.160.0110.00716.27
7.2.330.0100.01616.78
7.2.320.0330.03216.98
7.2.310.0140.00716.99
7.2.300.0300.01416.91
7.2.290.0360.00716.80
7.2.60.0040.01516.71
7.2.00.0030.00719.42
7.1.200.0060.00915.93
7.1.100.0090.01217.80
7.1.70.0040.00717.43
7.1.60.0080.00319.62
7.1.50.0000.01917.33
7.1.00.0100.07022.43
7.0.200.0090.00616.80
7.0.120.0030.06722.27
7.0.110.0030.06322.30
7.0.100.0030.07722.30
7.0.90.0000.08322.33
7.0.80.0100.06722.35
7.0.70.0030.07722.39
7.0.60.0100.06721.91
7.0.50.0070.06322.32
7.0.40.0030.06722.36
7.0.30.0100.06722.33
7.0.20.0070.06022.25
7.0.10.0070.07722.31
7.0.00.0030.07322.26
5.6.280.0100.06021.09
5.6.260.0100.06720.88
5.6.250.0030.07321.13
5.6.240.0070.06321.11
5.6.230.0000.08021.10
5.6.220.0170.06021.11
5.6.210.0000.06320.96
5.6.200.0100.05320.93
5.6.190.0100.07020.81
5.6.180.0030.07320.86
5.6.170.0070.07020.80
5.6.160.0000.07721.09
5.6.150.0030.06721.09
5.6.140.0100.07021.09
5.6.130.0000.07720.80
5.6.120.0000.08021.08
5.6.110.0100.07021.07
5.6.100.0030.07720.82
5.6.90.0070.06720.81
5.6.80.0000.07320.45
5.6.70.0000.07020.30
5.6.60.0130.06320.21
5.6.50.0070.06320.32
5.6.40.0130.06020.30
5.6.30.0030.06020.40
5.6.20.0000.06720.26
5.6.10.0030.06320.45
5.6.00.0030.07020.14
5.5.380.0070.06717.56
5.5.370.0000.06017.71
5.5.360.0000.06317.53
5.5.350.0000.07317.63
5.5.340.0030.07317.93
5.5.330.0030.06318.23
5.5.320.0070.06018.25
5.5.310.0000.07718.07
5.5.300.0000.07317.83
5.5.290.0030.07718.23
5.5.280.0070.07018.07
5.5.270.0030.07317.82
5.5.260.0100.06718.10
5.5.250.0000.07717.89
5.5.240.0030.07017.46
5.5.230.0100.06717.63
5.5.220.0000.07317.31
5.5.210.0070.06717.60
5.5.200.0000.07017.27
5.5.190.0000.07317.31
5.5.180.0030.07017.59
5.5.160.0000.07017.40
5.5.150.0030.06717.27
5.5.140.0030.06717.45
5.5.130.0000.07017.30
5.5.120.0030.06717.41
5.5.110.0000.07017.20
5.5.100.0000.07317.16
5.5.90.0030.05717.34
5.5.80.0030.05717.35
5.5.70.0030.06717.38
5.5.60.0000.06317.17
5.5.50.0000.06017.46
5.5.40.0100.06017.17
5.5.30.0000.07017.14
5.5.20.0000.06317.09
5.5.10.0000.07017.50
5.5.00.0070.06717.37
5.4.450.0070.07019.63
5.4.440.0000.08019.63
5.4.430.0000.07319.48
5.4.420.0030.07019.40
5.4.410.0070.06719.43
5.4.400.0030.06719.03
5.4.390.0000.07319.03
5.4.380.0000.07019.17
5.4.370.0030.06719.01
5.4.360.0070.06719.18
5.4.350.0030.06719.24
5.4.340.0070.07019.00
5.4.320.0100.05719.18
5.4.310.0030.06719.02
5.4.300.0000.06319.17
5.4.290.0000.06019.30
5.4.280.0030.07018.99
5.4.270.0000.06719.32
5.4.260.0070.06319.15
5.4.250.0070.06019.33
5.4.240.0100.05019.08
5.4.230.0030.06319.02
5.4.220.0000.07318.96
5.4.210.0030.06719.21
5.4.200.0100.06019.17
5.4.190.0070.06719.01
5.4.180.0070.06318.93
5.4.170.0030.06319.16
5.4.160.0030.05318.96
5.4.150.0070.06719.14
5.4.140.0030.05316.53
5.4.130.0030.06316.38
5.4.120.0000.06316.29
5.4.110.0000.07016.65
5.4.100.0000.06316.41
5.4.90.0000.06716.53
5.4.80.0070.06016.41
5.4.70.0030.06316.34
5.4.60.0000.05716.39
5.4.50.0000.06316.23
5.4.40.0070.05716.52
5.4.30.0000.06716.52
5.4.20.0030.06316.47
5.4.10.0070.06316.47
5.4.00.0030.06015.79

preferences:
49.44 ms | 400 KiB | 5 Q