3v4l.org

run code in 300+ PHP versions simultaneously
<?php $language = 'ru'; $pattern = '{0, plural, one{# час} few{# часа} many{# часов(many)} other{# часов(other)}}'; echo 'ICU:' . \Intl::getIcuVersion() . "\n"; echo 'Data: ' . \Intl::getIcuDataVersion() . "\n"; $formatter = new \MessageFormatter($language, $pattern); echo $result = $formatter->format([2]);

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.0150.00016.63
8.3.50.0140.00616.36
8.3.40.0130.00718.79
8.3.30.0110.00418.84
8.3.20.0070.00720.34
8.3.10.0040.00423.71
8.3.00.0000.00817.80
8.2.180.0100.02016.63
8.2.170.0140.00722.96
8.2.160.0120.00319.36
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0060.00317.73
8.2.110.0060.00321.06
8.2.100.0080.00417.50
8.2.90.0040.00419.09
8.2.80.0080.00017.97
8.2.70.0000.00817.38
8.2.60.0040.00417.80
8.2.50.0000.00818.07
8.2.40.0030.00521.00
8.2.30.0000.00720.54
8.2.20.0040.00417.56
8.2.10.0050.00218.14
8.2.00.0000.00818.09
8.1.280.0120.00625.92
8.1.270.0080.00023.79
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0100.00722.32
8.1.230.0130.00017.42
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0030.00617.38
8.1.190.0050.00317.23
8.1.180.0060.00318.10
8.1.170.0080.00020.37
8.1.160.0000.00721.95
8.1.150.0070.00018.84
8.1.140.0000.00819.56
8.1.130.0040.00417.70
8.1.120.0000.00717.46
8.1.110.0000.00817.43
8.1.100.0030.00317.38
8.1.90.0000.00717.42
8.1.80.0000.00917.40
8.1.70.0060.00317.40
8.1.60.0040.00417.53
8.1.50.0060.00317.54
8.1.40.0040.00417.52
8.1.30.0090.00017.67
8.1.20.0040.00417.55
8.1.10.0070.00017.59
8.1.00.0000.00817.42
8.0.300.0000.01418.77
8.0.290.0070.00016.63
8.0.280.0070.00018.39
8.0.270.0030.00317.24
8.0.260.0030.00317.11
8.0.250.0000.00716.96
8.0.240.0030.00316.85
8.0.230.0070.00016.89
8.0.220.0030.00316.80
8.0.210.0000.00816.91
8.0.200.0030.00316.87
8.0.190.0040.00416.97
8.0.180.0000.00816.96
8.0.170.0000.00816.94
8.0.160.0000.00816.78
8.0.150.0000.00816.90
8.0.140.0070.00016.83
8.0.130.0000.00813.25
8.0.120.0080.00016.75
8.0.110.0040.00416.71
8.0.100.0000.00716.91
8.0.90.0000.00716.96
8.0.80.0040.01316.87
8.0.70.0070.00016.77
8.0.60.0040.00416.80
8.0.50.0000.00816.96
8.0.30.0080.00816.97
8.0.20.0100.00817.40
8.0.10.0030.00317.00
8.0.00.0100.00816.73
7.4.330.0050.00015.08
7.4.320.0070.00016.59
7.4.300.0040.00416.58
7.4.290.0050.00316.52
7.4.280.0050.00616.48
7.4.270.0000.00716.61
7.4.260.0050.00316.51
7.4.250.0070.00016.55
7.4.240.0020.00616.63
7.4.230.0000.00716.30
7.4.220.0030.01716.67
7.4.210.0090.00516.56
7.4.200.0030.00316.71
7.4.160.0030.01416.46
7.4.150.0120.01217.40
7.4.140.0130.00617.86
7.4.130.0110.00716.47
7.4.120.0040.01216.53
7.4.110.0090.01416.55
7.4.100.0070.01116.55
7.4.90.0130.00616.45
7.4.80.0100.01319.39
7.4.70.0130.00916.70
7.4.60.0120.00316.49
7.4.50.0030.00616.43
7.4.40.0100.00716.52
7.4.30.0180.00616.37
7.4.00.0100.00614.87
7.3.330.0050.00013.01
7.3.320.0050.00013.20
7.3.310.0030.00316.10
7.3.300.0070.00016.26
7.3.290.0100.00616.24
7.3.280.0040.01116.27
7.3.270.0130.00417.40
7.3.260.0090.00916.50
7.3.250.0080.00916.33
7.3.240.0070.01216.42
7.3.230.0090.01216.54
7.3.210.0170.00016.19
7.3.200.0000.01616.43
7.3.190.0130.00716.21
7.3.180.0170.00716.32
7.3.170.0150.00316.27
7.3.160.0110.00616.45
7.3.120.0080.01114.61
7.3.110.0050.01314.72
7.3.100.0100.00314.75
7.3.90.0030.01314.88
7.3.80.0030.00914.79
7.3.70.0110.00514.85
7.3.60.0090.00414.73
7.3.50.0090.00614.71
7.3.40.0060.00614.61
7.3.30.0030.01014.91
7.3.20.0030.00816.50
7.3.10.0020.01116.48
7.3.00.0070.00716.51
7.2.330.0040.01416.39
7.2.320.0100.01316.39
7.2.310.0090.00916.57
7.2.300.0120.01216.24
7.2.290.0060.01016.57
7.2.250.0060.01114.83
7.2.240.0050.01314.85
7.2.230.0060.00914.82
7.2.220.0050.01114.98
7.2.210.0120.00215.02
7.2.200.0090.00814.86
7.2.190.0050.00714.76
7.2.180.0060.00814.60
7.2.170.0110.00314.96
7.2.60.0100.00716.53
7.2.00.0060.00919.11
7.1.330.0040.00815.59
7.1.320.0080.00615.60
7.1.310.0050.00815.71
7.1.300.0080.00815.69
7.1.290.0040.00715.57
7.1.280.0030.00915.60
7.1.270.0030.01015.68
7.1.260.0060.00515.62
7.1.200.0090.00315.48
7.1.100.0000.00917.94
7.1.70.0150.00017.02
7.1.60.0110.01419.50
7.1.50.0130.00616.86
7.1.00.0100.07022.43
7.0.200.0170.00314.84
7.0.100.0200.06319.96
7.0.90.0030.08720.04
7.0.80.0070.05319.92
7.0.70.0270.08719.97
7.0.60.0270.04019.93
7.0.50.0370.05020.30
7.0.40.0100.06020.07
7.0.30.0130.06020.01
7.0.20.0130.05320.18
7.0.10.0030.05320.15
7.0.00.0070.04720.07
5.6.280.0000.03320.89
5.6.250.0030.07020.60
5.6.240.0070.07320.66
5.6.230.0130.07720.68
5.6.220.0130.07720.49
5.6.210.0030.05320.64
5.6.200.0200.06321.01
5.6.190.0100.08321.13
5.6.180.0100.05721.09
5.6.170.0200.06321.02
5.6.160.0170.07020.93
5.6.150.0130.06721.04
5.6.140.0170.05020.93
5.6.130.0170.07320.88
5.6.120.0130.05721.01
5.6.110.0130.07020.99
5.6.100.0030.05021.15
5.6.90.0070.06321.14
5.6.80.0130.04020.41
5.6.70.0070.05720.36
5.6.60.0170.07320.39
5.6.50.0200.04320.52
5.6.40.0070.05320.38
5.6.30.0000.05020.44
5.6.20.0070.06320.43
5.6.10.0100.03720.48
5.6.00.0100.07720.40
5.5.380.0130.05020.39
5.5.370.0030.05020.34
5.5.360.0070.05020.35
5.5.350.0100.08020.42
5.5.340.0070.04020.61
5.5.330.0030.07320.77
5.5.320.0100.04320.88
5.5.310.0070.07020.80
5.5.300.0200.06320.86
5.5.290.0070.07720.80
5.5.280.0130.07320.78
5.5.270.0070.05720.79
5.5.260.0000.06320.82
5.5.250.0070.07720.64
5.5.240.0070.05020.15
5.5.230.0130.07020.10
5.5.220.0030.05320.26
5.5.210.0070.06720.16
5.5.200.0030.04320.28
5.5.190.0070.05020.12
5.5.180.0100.04720.12
5.5.160.0130.07319.99
5.5.150.0100.07320.21
5.5.140.0070.04720.23
5.5.130.0070.06020.22
5.5.120.0100.04320.27
5.5.110.0170.07020.24
5.5.100.0100.07020.15
5.5.90.0100.04720.15
5.5.80.0100.05020.03
5.5.70.0130.04020.08
5.5.60.0030.06720.00
5.5.50.0030.06319.93
5.5.40.0130.05020.08
5.5.30.0100.05020.08
5.5.20.0130.06020.02
5.5.10.0130.03020.05
5.5.00.0100.07319.99
5.4.450.0130.07019.30
5.4.440.0030.09019.47
5.4.430.0130.06719.30
5.4.420.0000.06719.13
5.4.410.0030.05319.25
5.4.400.0070.04018.81
5.4.390.0000.04319.14
5.4.380.0070.04718.81
5.4.370.0070.06718.96
5.4.360.0070.08019.23
5.4.350.0200.06718.98
5.4.340.0030.08019.19
5.4.320.0100.06719.23
5.4.310.0130.05718.79
5.4.300.0170.06719.02
5.4.290.0100.08319.12
5.4.280.0170.07019.02
5.4.270.0130.06719.02
5.4.260.0100.04719.11
5.4.250.0130.07018.89
5.4.240.0130.06319.03
5.4.230.0130.05019.07
5.4.220.0100.04019.09
5.4.210.0070.04319.13
5.4.200.0100.04019.02
5.4.190.0130.06719.08
5.4.180.0130.07018.89
5.4.170.0100.07319.21
5.4.160.0100.03319.05
5.4.150.0100.08019.02
5.4.140.0030.07016.23
5.4.130.0070.08016.27
5.4.120.0070.07016.34
5.4.110.0030.06716.41
5.4.100.0100.03316.38
5.4.90.0100.06316.22
5.4.80.0130.06316.39
5.4.70.0130.06016.43
5.4.60.0030.07716.40
5.4.50.0200.04716.35
5.4.40.0130.06716.47
5.4.30.0030.07016.38
5.4.20.0030.04316.37
5.4.10.0030.06016.27
5.4.00.0070.03715.77

preferences:
53.2 ms | 400 KiB | 5 Q