3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tz = new DateTimeZone('Europe/Moscow'); $now = time(); foreach (['en_US', 'ja_JA', 'ru_RU'] as $locale) { printf("%s:\n", $locale); foreach ([IntlDateFormatter::MEDIUM, IntlDateFormatter::LONG] as $datetype) { $formatter = new IntlDateFormatter($locale, $datetype, IntlDateFormatter::NONE); printf("- %s\n", $formatter->format($now)); } }

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.2.100.0260.00421.11
8.1.200.0140.00479.33
8.1.00.0180.00520.90
7.4.270.0130.00620.25
7.4.230.0090.00419.99
7.2.120.0110.00420.19
7.2.110.0040.00719.90
7.2.100.0100.00720.24
7.2.90.0000.01820.38
7.2.80.0070.00720.32
7.2.70.0070.00720.72
7.2.60.0070.00920.70
7.2.50.0070.00720.81
7.2.40.0080.01220.54
7.2.30.0090.00920.65
7.2.20.0100.00720.52
7.2.10.0030.01320.45
7.2.00.0070.01020.74
7.1.240.0040.01519.23
7.1.230.0130.00319.45
7.1.220.0030.00919.50
7.1.210.0000.01619.22
7.1.200.0040.01319.42
7.1.190.0090.00619.29
7.1.180.0070.01119.30
7.1.170.0090.00919.28
7.1.160.0030.01219.21
7.1.150.0060.00619.62
7.1.140.0000.01219.31
7.1.130.0040.01119.58
7.1.120.0060.00919.24
7.1.110.0100.00719.34
7.1.100.0100.00619.52
7.1.90.0000.01019.48
7.1.80.0090.00619.53
7.1.70.0130.00319.99
7.1.60.0100.00820.22
7.1.50.0120.00520.01
7.1.40.0000.01619.43
7.1.30.0030.01319.72
7.1.20.0080.00419.34
7.1.10.0100.00619.72
7.1.00.0070.04222.60
7.0.320.0060.00619.34
7.0.310.0100.00319.26
7.0.300.0030.00919.04
7.0.290.0030.01219.41
7.0.280.0040.01419.31
7.0.270.0100.00719.16
7.0.260.0030.00719.39
7.0.250.0090.00619.11
7.0.240.0030.00819.38
7.0.230.0030.00919.14
7.0.220.0070.01119.23
7.0.210.0000.01719.36
7.0.200.0080.00719.89
7.0.190.0030.01319.25
7.0.180.0100.00619.06
7.0.170.0060.00819.07
7.0.160.0060.01019.31
7.0.150.0030.00619.11
7.0.140.0000.01219.36
7.0.130.0000.01219.32
7.0.120.0040.01119.13
7.0.110.0100.00019.27
7.0.100.0060.04721.37
7.0.90.0080.04921.33
7.0.80.0070.04721.34
7.0.70.0050.02821.44
7.0.60.0120.04021.18
7.0.50.0150.03921.34
7.0.40.0080.04520.24
7.0.30.0070.04620.33
7.0.20.0050.04720.43
7.0.10.0060.04120.47
7.0.00.0090.04820.20
5.6.380.0070.00718.03
5.6.370.0030.01017.79
5.6.360.0080.00818.04
5.6.350.0040.01118.01
5.6.340.0140.00017.73
5.6.330.0060.00618.20
5.6.320.0090.00617.90
5.6.310.0060.00618.19
5.6.300.0040.01118.17
5.6.290.0040.00817.97
5.6.280.0070.04221.31
5.6.270.0030.01018.04
5.6.260.0040.01217.67
5.6.250.0050.03721.15
5.6.240.0060.04821.10
5.6.230.0130.04320.97
5.6.220.0100.04420.81
5.6.210.0080.04020.94
5.6.200.0100.03021.34
5.6.190.0050.05021.19
5.6.180.0030.03121.13
5.6.170.0100.04621.48
5.6.160.0080.04521.02
5.6.150.0070.05021.13
5.6.140.0080.04721.12
5.6.130.0050.04521.13
5.6.120.0060.04321.34
5.6.110.0100.05221.36
5.6.100.0030.03721.15
5.6.90.0050.03720.87
5.6.80.0050.04320.59
5.6.70.0070.03020.81
5.6.60.0080.02420.84
5.6.50.0070.04420.91
5.6.40.0090.03820.82
5.6.30.0070.04320.90
5.6.20.0080.04620.66
5.6.10.0100.04421.04
5.6.00.0030.04620.74
5.5.380.0110.03817.38
5.5.370.0030.03717.48
5.5.360.0130.04017.37
5.5.350.0080.04617.57
5.5.340.0010.04817.47
5.5.330.0090.04517.64
5.5.320.0090.04417.66
5.5.310.0020.03817.63
5.5.300.0050.04517.76
5.5.290.0070.05217.67
5.5.280.0140.03817.73
5.5.270.0060.04817.65
5.5.260.0110.04117.77
5.5.250.0110.04117.52
5.5.240.0030.04017.38
5.5.230.0030.04317.46
5.5.220.0060.04117.40
5.5.210.0060.03517.34
5.5.200.0080.03717.27
5.5.190.0030.03817.26
5.5.180.0110.04317.18
5.5.170.0090.00317.63
5.5.160.0050.03217.33
5.5.150.0060.03317.45
5.5.140.0030.04617.28
5.5.130.0050.04317.29
5.5.120.0050.04517.33
5.5.110.0100.04017.38
5.5.100.0100.03317.11
5.5.90.0060.02317.42
5.5.80.0070.04117.08
5.5.70.0070.04417.36
5.5.60.0030.04617.20
5.5.50.0030.04117.28
5.5.40.0080.02517.26
5.5.30.0080.04017.31
5.5.20.0000.03517.18
5.5.10.0110.03317.35
5.5.00.0070.04717.39

preferences:
51.21 ms | 403 KiB | 5 Q