3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo INTL_ICU_VERSION . "\n"; $language = 'ru-RU'; $pattern = '{0, plural, =0{У вас нет новых сообщений} =1{У вас одно новое сообщение} one{У вас # непрочитанное сообщение} few{У вас # непрочитанных сообщения} many{У вас # непрочитанных сообщений} other{У вас # сообщений}}!'; $params = ['0' => 3]; $formatter = new \MessageFormatter($language, $pattern); if ($formatter === null) { echo "Invalid pattern: " . intl_get_error_code() . "\n" . intl_get_error_message(); } echo $formatter->format($params); echo "\n";

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.4.10.0100.01019.83
8.3.140.0070.00319.25
8.3.130.0040.00420.88
8.3.120.0100.00021.34
8.3.110.0120.00720.94
8.3.100.0030.00719.13
8.3.90.0060.00320.67
8.3.80.0130.00320.80
8.3.70.0220.00718.75
8.3.60.0140.00720.80
8.3.50.0120.00823.23
8.3.40.0110.00420.21
8.3.30.0090.00620.44
8.3.20.0090.00021.75
8.3.10.0040.00423.28
8.3.00.0120.00320.91
8.2.260.0040.00422.54
8.2.250.0030.00619.32
8.2.240.0060.00321.25
8.2.230.0060.00322.58
8.2.220.0160.00424.06
8.2.210.0060.00326.77
8.2.200.0100.00020.91
8.2.190.0070.00718.88
8.2.180.0170.00719.38
8.2.170.0120.00622.96
8.2.160.0140.00023.63
8.2.150.0060.00324.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0030.00521.96
8.2.110.0030.00723.02
8.2.100.0080.00419.91
8.2.90.0030.00519.84
8.2.80.0030.00620.65
8.2.70.0000.00919.50
8.2.60.0000.00819.50
8.2.50.0060.00320.03
8.2.40.0040.00419.93
8.2.30.0070.00722.63
8.2.20.0080.00019.71
8.2.10.0090.00020.03
8.2.00.0000.00819.71
8.1.310.0030.00619.29
8.1.300.0060.00320.39
8.1.290.0060.00318.88
8.1.280.0100.00625.92
8.1.270.0060.00625.43
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.00923.64
8.1.230.0060.00622.85
8.1.220.0000.00819.79
8.1.210.0030.00620.63
8.1.200.0080.00019.23
8.1.190.0060.00319.22
8.1.180.0050.00319.13
8.1.170.0050.00319.37
8.1.160.0040.00420.27
8.1.150.0100.00420.24
8.1.140.0030.00519.25
8.1.130.0030.00519.88
8.1.120.0040.00419.50
8.1.110.0040.00419.53
8.1.100.0040.00419.38
8.1.90.0030.00519.46
8.1.80.0000.00819.38
8.1.70.0070.00019.62
8.1.60.0070.00319.59
8.1.50.0080.00019.46
8.1.40.0000.00819.62
8.1.30.0040.00419.75
8.1.20.0040.00419.73
8.1.10.0040.00419.71
8.1.00.0040.00419.70
8.0.300.0040.00421.71
8.0.290.0030.00518.63
8.0.280.0000.00819.85
8.0.270.0050.00219.22
8.0.260.0050.00319.10
8.0.250.0000.01318.98
8.0.240.0040.00419.02
8.0.230.0000.00818.91
8.0.220.0040.00418.89
8.0.210.0030.00518.99
8.0.200.0070.00018.81
8.0.190.0050.00518.96
8.0.180.0030.00519.05
8.0.170.0080.00018.99
8.0.160.0040.00418.81
8.0.150.0040.00418.74
8.0.140.0000.00818.96
8.0.130.0000.00613.32
8.0.120.0040.00418.86
8.0.110.0000.00819.00
8.0.100.0050.00318.90
8.0.90.0040.00419.07
8.0.80.0030.01319.00
8.0.70.0030.00519.05
8.0.60.0030.00618.95
8.0.50.0040.00418.96
8.0.30.0140.00619.03
8.0.20.0080.01119.07
8.0.10.0000.00818.98
8.0.00.0090.01018.79
7.4.330.0000.00515.03
7.4.320.0030.00318.77
7.4.300.0030.00518.57
7.4.290.0050.00318.76
7.4.280.0030.00518.70
7.4.270.0030.00518.59
7.4.260.0060.00318.68
7.4.250.0000.00818.75
7.4.240.0030.00618.73
7.4.230.0000.00718.74
7.4.220.0070.01318.62
7.4.210.0060.01318.69
7.4.200.0030.00618.60
7.4.160.0090.00918.44
7.4.150.0090.00918.34
7.4.140.0110.00718.80
7.4.130.0060.01218.63
7.4.120.0100.00818.84
7.4.110.0160.00318.43
7.4.100.0170.00718.60
7.4.90.0030.01418.45
7.4.80.0000.01819.39
7.4.70.0110.00618.39
7.4.60.0080.00818.46
7.4.50.0090.00018.90
7.4.40.0070.01418.83
7.4.30.0060.01618.53
7.4.10.0110.00817.28
7.4.00.0050.01417.14
7.3.330.0000.00613.11
7.3.320.0000.00513.27
7.3.310.0070.00018.38
7.3.300.0000.00718.36
7.3.290.0040.00418.17
7.3.280.0100.00818.35
7.3.270.0110.00718.37
7.3.260.0140.00318.39
7.3.250.0100.00918.53
7.3.240.0060.01218.57
7.3.230.0030.01518.51
7.3.210.0070.01418.55
7.3.200.0130.01019.39
7.3.190.0140.00718.38
7.3.180.0070.01018.61
7.3.170.0130.00718.43
7.3.160.0070.01018.42
7.3.130.0030.01716.88
7.3.120.0060.00917.16
7.3.110.0040.01416.94
7.3.100.0060.00616.97
7.3.90.0030.01016.75
7.3.80.0120.00316.99
7.3.70.0120.00316.98
7.3.60.0060.00616.84
7.3.50.0000.01516.93
7.3.40.0070.00616.97
7.3.30.0110.00716.97
7.3.20.0030.01018.60
7.3.10.0030.00618.33
7.3.00.0090.00618.32
7.2.330.0090.00918.53
7.2.320.0110.01518.75
7.2.310.0120.00618.53
7.2.300.0180.00618.66
7.2.290.0100.01018.48
7.2.260.0090.00616.77
7.2.250.0000.01917.04
7.2.240.0070.00717.01
7.2.230.0070.01017.06
7.2.220.0000.01116.99
7.2.210.0060.00617.16
7.2.200.0130.00617.09
7.2.190.0030.00716.90
7.2.180.0030.00917.11
7.2.170.0000.01217.20
7.2.160.0030.01317.05
7.2.150.0040.00918.88
7.2.140.0040.00719.11
7.2.130.0000.01518.73
7.2.120.0000.01018.95
7.2.110.0030.01218.93
7.2.100.0040.01519.02
7.2.90.0070.00719.16
7.2.80.0100.00318.93
7.2.70.0100.00718.94
7.2.60.0130.00718.80
7.2.50.0040.01219.08
7.2.40.0100.00718.76
7.2.30.0110.00419.04
7.2.20.0040.01218.81
7.2.10.0090.00918.92
7.2.00.0070.00720.45
7.1.330.0090.00617.79
7.1.320.0140.00318.04
7.1.310.0100.00317.82
7.1.300.0040.00717.64
7.1.290.0080.00617.46
7.1.280.0070.00717.53
7.1.270.0060.00917.70
7.1.260.0050.00517.76
7.1.250.0090.00617.80
7.1.240.0000.01017.84
7.1.230.0060.00918.04
7.1.220.0060.00917.73
7.1.210.0120.00617.55
7.1.200.0050.01117.67
7.1.190.0070.01117.91
7.1.180.0000.01117.71
7.1.170.0060.00617.96
7.1.160.0060.00317.82
7.1.150.0090.00617.82
7.1.140.0090.00617.83
7.1.130.0120.00617.78
7.1.120.0000.01117.79
7.1.110.0030.01417.99
7.1.100.0070.00719.08
7.1.90.0000.01217.86
7.1.80.0060.00617.72
7.1.70.0050.01318.57
7.1.60.0090.00318.45
7.1.50.0080.00518.51
7.1.40.0060.01018.32
7.1.30.0070.01318.35
7.1.20.0050.01118.47
7.1.10.0030.00618.33
7.1.00.0040.00718.34
7.0.330.0000.00917.38
7.0.320.0140.00317.64
7.0.310.0060.00317.36
7.0.300.0090.00317.58
7.0.290.0060.00917.57
7.0.280.0030.01017.39
7.0.270.0040.00717.34
7.0.260.0090.00317.53
7.0.250.0100.00617.32
7.0.240.0070.00717.31
7.0.230.0030.01017.66
7.0.220.0060.00617.57
7.0.210.0040.01117.57
7.0.200.0090.00318.34
7.0.190.0030.00918.26
7.0.180.0120.00018.01
7.0.170.0050.01118.04
7.0.160.0020.01118.04
7.0.150.0040.00618.10
7.0.140.0090.00517.85
7.0.130.0020.00917.92
7.0.120.0030.00817.92
7.0.110.0030.00917.79
7.0.100.0050.00617.98
7.0.90.0030.00817.95
7.0.80.0040.00717.86
7.0.70.0050.01017.89
7.0.60.0070.00117.82
7.0.50.0070.00317.82
7.0.40.0050.00915.94
7.0.30.0050.00815.96
7.0.20.0030.00815.87
7.0.10.0040.00715.79
7.0.00.0060.00315.84
5.6.400.0080.00416.41
5.6.390.0090.00316.56
5.6.380.0070.00716.43
5.6.370.0030.01316.47
5.6.360.0150.00016.69
5.6.350.0160.00016.67
5.6.340.0060.00316.48
5.6.330.0000.01816.14
5.6.320.0100.00716.61
5.6.310.0100.00616.54
5.6.300.0050.04119.62
5.6.290.0040.02619.80
5.6.280.0040.03119.73
5.6.270.0020.02919.53
5.6.260.0030.03019.74
5.6.250.0050.02619.67
5.6.240.0060.02419.63
5.6.230.0020.02919.63
5.6.220.0030.03119.77
5.6.210.0050.03419.85
5.6.200.0080.02419.76
5.6.190.0030.03019.72
5.6.180.0070.02119.74
5.6.170.0100.02119.79
5.6.160.0050.02819.83
5.6.150.0050.02519.72
5.6.140.0080.03619.63
5.6.130.0050.02619.62
5.6.120.0050.02619.63
5.6.110.0020.03019.55
5.6.100.0080.03219.70
5.6.90.0030.02719.76
5.6.80.0000.02919.16
5.6.70.0050.02319.20
5.6.60.0020.03019.35
5.6.50.0050.03819.21
5.6.40.0050.05019.35
5.6.30.0070.04519.40
5.6.20.0110.01619.39
5.6.10.0070.04019.22
5.6.00.0030.04319.24
5.5.380.0090.03917.56
5.5.370.0100.03717.50
5.5.360.0040.04317.55
5.5.350.0040.03917.39
5.5.340.0000.04217.84
5.5.330.0030.04018.00
5.5.320.0000.04718.02
5.5.310.0030.04218.02
5.5.300.0030.08118.02
5.5.290.0070.04118.11
5.5.280.0070.03717.94
5.5.270.0000.05917.70
5.5.260.0060.03817.93
5.5.250.0030.04417.87
5.5.240.0000.04217.09
5.5.230.0030.04217.34
5.5.220.0040.04617.41
5.5.210.0070.06817.38
5.5.200.0070.07017.35
5.5.190.0030.04617.46
5.5.180.0000.04117.38
5.5.160.0040.03717.05
5.5.150.0060.03517.31
5.5.140.0070.04517.34
5.5.130.0070.03717.41
5.5.120.0000.05017.18
5.5.110.0060.05717.41
5.5.100.0130.03217.25
5.5.90.0030.03817.27
5.5.80.0040.03917.24
5.5.70.0070.04317.22
5.5.60.0100.03717.29
5.5.50.0070.04417.24
5.5.40.0060.04817.08
5.5.30.0000.08216.98
5.5.20.0070.03617.20
5.5.10.0070.05017.29
5.5.00.0030.04016.95
5.4.450.0000.04721.22
5.4.440.0030.04021.18
5.4.430.0060.03921.19
5.4.420.0000.04421.12
5.4.410.0030.04520.94
5.4.400.0040.05120.82
5.4.390.0330.03320.74
5.4.380.0070.04020.81
5.4.370.0070.03320.78
5.4.360.0030.04120.74
5.4.350.0060.03820.80
5.4.340.0120.03020.82
5.4.320.0070.04020.82
5.4.310.0030.08220.53
5.4.300.0000.04220.63
5.4.290.0070.03920.94
5.4.280.0040.04020.79
5.4.270.0070.06720.88
5.4.260.0180.03020.93
5.4.250.0100.03520.81
5.4.240.0000.04220.94
5.4.230.0070.07720.73
5.4.220.0030.03820.74
5.4.210.0060.03720.52
5.4.200.0030.03720.93
5.4.190.0030.04020.63
5.4.180.0000.04320.93
5.4.170.0030.05220.76
5.4.160.0170.04320.62
5.4.150.0030.03820.84
5.4.140.0070.05918.48
5.4.130.0000.07518.20
5.4.120.0070.07118.53
5.4.110.0030.03718.52
5.4.100.0070.04018.25
5.4.90.0030.07718.42
5.4.80.0030.05218.53
5.4.70.0030.03618.40
5.4.60.0000.03718.34
5.4.50.0030.04418.32
5.4.40.0000.03818.41
5.4.30.0000.03918.39
5.4.20.0030.03418.48
5.4.10.0000.05318.36
5.4.00.0030.03317.78
5.3.290.0000.04715.71
5.3.280.0040.03715.71
5.3.270.0070.07215.71
5.3.260.0000.04015.71
5.3.250.0030.07415.71
5.3.240.0100.07515.71
5.3.230.0000.08215.71
5.3.220.0030.03915.71
5.3.210.0000.06415.71
5.3.200.0060.05815.71
5.3.190.0000.03915.71
5.3.180.0000.04115.71
5.3.170.0030.03815.71
5.3.160.0030.03815.71
5.3.150.0030.03915.71
5.3.140.0000.03815.71
5.3.130.0030.06815.71
5.3.120.0030.05915.71
5.3.110.0030.06415.71
5.3.100.0030.07015.71
5.3.90.0000.04815.71
5.3.80.0000.04015.71
5.3.70.0040.03615.71
5.3.60.0000.03915.71
5.3.50.0000.04615.71
5.3.40.0040.04315.71
5.3.30.0000.08115.71
5.3.20.0000.03915.71
5.3.10.0030.03315.71
5.3.00.0090.03115.71
5.2.170.0000.03415.71
5.2.160.0030.03115.71
5.2.150.0000.03415.71
5.2.140.0000.03415.71
5.2.130.0030.03615.71
5.2.120.0000.03315.71
5.2.110.0000.02915.71
5.2.100.0030.02915.71
5.2.90.0000.03015.71
5.2.80.0000.03515.71
5.2.70.0070.02715.71
5.2.60.0000.03315.71
5.2.50.0000.03215.71
5.2.40.0000.03015.71
5.2.30.0030.02915.71
5.2.20.0000.03115.71
5.2.10.0030.02715.71
5.2.00.0030.03115.71
5.1.60.0030.03115.71
5.1.50.0000.02715.71
5.1.40.0000.02815.71
5.1.30.0090.02815.71
5.1.20.0030.03215.71
5.1.10.0000.02715.71
5.1.00.0030.02315.71
5.0.50.0070.01715.71
5.0.40.0030.02215.71
5.0.30.0000.03115.71
5.0.20.0060.01515.71
5.0.10.0100.03615.71
5.0.00.0030.02815.71
4.4.90.0000.02315.71
4.4.80.0000.01615.71
4.4.70.0100.01315.71
4.4.60.0040.01515.71
4.4.50.0000.01715.71
4.4.40.0090.02815.71
4.4.30.0040.01515.71
4.4.20.0030.01515.71
4.4.10.0000.01915.71
4.4.00.0030.02215.71
4.3.110.0030.01315.71
4.3.100.0000.02115.71
4.3.90.0000.02515.71
4.3.80.0000.02915.71
4.3.70.0030.01315.71
4.3.60.0000.01715.71
4.3.50.0060.01615.71
4.3.40.0030.02215.71
4.3.30.0030.01615.71
4.3.20.0070.02615.71
4.3.10.0000.01815.71
4.3.00.0040.01415.71

preferences:
29.21 ms | 403 KiB | 5 Q