3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach (['en_US', 'ru_RU', 'es_ES', 'fa_IR'] as $locale) { $pattern = <<<CONFIG '%s' => [ 'medium_no_year' => "%s", // %s 'long_no_year' => "%s", // %s ], CONFIG; $mediumF = new IntlDateFormatter($locale, IntlDateFormatter::MEDIUM, IntlDateFormatter::NONE); $longF = new IntlDateFormatter($locale, IntlDateFormatter::LONG, IntlDateFormatter::NONE); printf( $pattern, $locale, $mediumF->getPattern(), $mediumF->format(1455111783), $longF->getPattern(), $longF->format(1455111783) ); }

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.0070.01122.29
8.3.50.0240.00923.87
8.3.40.0100.00721.68
8.3.30.0070.01421.56
8.3.20.0060.00323.05
8.3.10.0030.00623.45
8.3.00.0060.00323.95
8.2.180.0090.00920.24
8.2.170.0070.01122.96
8.2.160.0100.01024.85
8.2.150.0050.00524.18
8.2.140.0030.00724.66
8.2.130.0130.00926.16
8.2.120.0210.00321.68
8.2.110.0070.00425.16
8.2.100.0110.00321.41
8.2.90.0000.01221.13
8.2.80.0150.00021.59
8.2.70.0150.00621.13
8.2.60.0100.00521.40
8.2.50.0060.00621.13
8.2.40.0040.00821.66
8.2.30.0030.00621.47
8.2.20.0070.00321.27
8.2.10.0030.00721.63
8.2.00.0060.00321.70
8.1.280.0160.00925.92
8.1.270.0100.00026.45
8.1.260.0030.00626.35
8.1.250.0060.00328.09
8.1.240.0080.00323.14
8.1.230.0180.00021.20
8.1.220.0070.00321.16
8.1.210.0060.00320.86
8.1.200.0080.00320.97
8.1.190.0130.00720.88
8.1.180.0000.01120.88
8.1.170.0080.00322.21
8.1.160.0000.00921.67
8.1.150.0030.00621.73
8.1.140.0060.00323.07
8.1.130.0040.00421.30
8.1.120.0040.00420.80
8.1.110.0060.00320.88
8.1.100.0000.00920.89
8.1.90.0030.00620.85
8.1.80.0000.00920.90
8.1.70.0030.00620.79
8.1.60.0030.00721.01
8.1.50.0070.00320.94
8.1.40.0030.00620.87
8.1.30.0030.00721.21
8.1.20.0070.00320.99
8.1.10.0000.00921.40
8.1.00.0000.00921.31
8.0.300.0080.00320.57
8.0.290.0040.00420.38
8.0.280.0080.00321.21
8.0.270.0080.00420.89
8.0.260.0000.00920.82
8.0.250.0030.00720.66
8.0.240.0030.00620.56
8.0.230.0000.00920.74
8.0.220.0000.01120.58
8.0.210.0040.00420.61
8.0.200.0000.00820.73
8.0.190.0060.00620.62
8.0.180.0040.00420.57
8.0.170.0030.00720.71
8.0.160.0040.00420.52
8.0.150.0030.00620.44
8.0.140.0000.00920.54
8.0.130.0030.00713.33
8.0.120.0060.00320.18
8.0.110.0060.00320.52
8.0.100.0030.00620.30
8.0.90.0000.00920.32
8.0.80.0070.01720.32
8.0.70.0000.00920.37
8.0.60.0000.00920.56
8.0.50.0040.00420.59
8.0.30.0090.01220.61
8.0.20.0090.01220.71
8.0.10.0030.00620.70
8.0.00.0110.01120.42
7.4.330.0000.00516.71
7.4.320.0040.00420.45
7.4.300.0040.00420.29
7.4.290.0000.00920.29
7.4.280.0000.00920.44
7.4.270.0000.00820.25
7.4.260.0040.00420.31
7.4.250.0000.01120.16
7.4.240.0040.00420.29
7.4.230.0030.00620.50
7.4.220.0180.00920.42
7.4.210.0080.01220.34
7.4.200.0050.00520.13
7.4.160.0060.01520.05
7.4.150.0080.01220.36
7.4.140.0180.01020.27
7.4.130.0120.01220.17
7.4.120.0100.01020.12
7.4.110.0100.01020.06
7.4.100.0090.01620.32
7.4.90.0090.00919.96
7.4.80.0100.01719.98
7.4.70.0120.00820.27
7.4.60.0100.01420.39
7.4.50.0100.01020.41
7.4.40.0110.00720.50
7.4.30.0090.01320.40
7.4.00.0110.01018.78
7.3.330.0040.00413.14
7.3.320.0000.00613.08
7.3.310.0000.00919.86
7.3.300.0000.00819.86
7.3.290.0000.00919.79
7.3.280.0090.01019.91
7.3.270.0030.01620.03
7.3.260.0100.01019.96
7.3.250.0130.01119.70
7.3.240.0130.01419.93
7.3.230.0130.01019.78
7.3.210.0160.00919.97
7.3.200.0100.01320.00
7.3.190.0090.00920.06
7.3.180.0090.00919.89
7.3.170.0030.02219.97
7.3.160.0100.01019.70
7.3.120.0160.00118.55
7.3.110.0120.00918.24
7.3.100.0050.01518.48
7.3.90.0030.01018.04
7.3.80.0000.01518.30
7.3.70.0040.00918.29
7.3.60.0030.01518.17
7.3.50.0050.01218.06
7.3.40.0030.01218.22
7.3.30.0100.00518.16
7.3.20.0050.01120.22
7.3.10.0070.01020.31
7.3.00.0120.00520.23
7.2.330.0030.01719.88
7.2.320.0100.01020.12
7.2.310.0130.01320.17
7.2.300.0160.00320.12
7.2.290.0060.01520.15
7.2.250.0040.01918.97
7.2.240.0040.01919.02
7.2.230.0030.01418.66
7.2.220.0040.01118.64
7.2.210.0050.01218.78
7.2.200.0090.01118.87
7.2.190.0030.01018.88
7.2.180.0120.00518.79
7.2.170.0060.00718.89
7.2.160.0070.01318.71
7.2.150.0060.00920.35
7.2.140.0120.00920.61
7.2.130.0070.01020.48
7.2.120.0060.01320.69
7.2.110.0080.00420.44
7.2.100.0110.00720.54
7.2.90.0040.01120.75
7.2.80.0070.01320.67
7.2.70.0070.01120.71
7.2.60.0030.01320.67
7.2.50.0130.00320.70
7.2.40.0080.01220.75
7.2.30.0090.00920.42
7.2.20.0030.01720.83
7.2.10.0030.01720.78
7.2.00.0070.00822.13
7.1.330.0080.01119.71
7.1.320.0040.01019.55
7.1.310.0030.01119.49
7.1.300.0070.00719.51
7.1.290.0030.01219.46
7.1.280.0030.01219.45
7.1.270.0050.01019.62
7.1.260.0030.01119.59
7.1.250.0030.01319.29
7.1.240.0030.01019.26
7.1.230.0000.01619.62
7.1.220.0000.01319.52
7.1.210.0000.01119.48
7.1.200.0050.01219.54
7.1.190.0030.01419.28
7.1.180.0030.01319.50
7.1.170.0030.01019.38
7.1.160.0070.01019.59
7.1.150.0000.01619.64
7.1.140.0040.00719.35
7.1.130.0040.01119.37
7.1.120.0060.01319.46
7.1.110.0030.01319.69
7.1.100.0080.01320.84
7.1.90.0040.01219.40
7.1.80.0030.01319.61
7.1.70.0060.00620.20
7.1.60.0110.01220.42
7.1.50.0080.01020.26
7.1.40.0070.01019.45
7.1.30.0040.01219.66
7.1.20.0120.00619.57
7.1.10.0080.00419.66
7.1.00.0030.05222.77
7.0.330.0060.01019.23
7.0.320.0060.01219.39
7.0.310.0060.00919.44
7.0.300.0080.00419.26
7.0.290.0120.00319.29
7.0.280.0030.01319.10
7.0.270.0100.00719.43
7.0.260.0040.01719.27
7.0.250.0050.00819.04
7.0.240.0110.00319.44
7.0.230.0040.00719.06
7.0.220.0040.01419.45
7.0.210.0070.00719.02
7.0.200.0250.00918.78
7.0.190.0110.00419.45
7.0.180.0040.01119.23
7.0.170.0030.01319.31
7.0.160.0040.01219.15
7.0.150.0070.01019.06
7.0.140.0040.01119.20
7.0.130.0040.01219.32
7.0.120.0030.01319.11
7.0.110.0060.00619.37
7.0.100.0130.00619.36
7.0.90.0080.00819.10
7.0.80.0040.00719.29
7.0.70.0000.01219.27
7.0.60.0190.03121.37
7.0.50.0070.03718.50
7.0.40.0050.02520.24
7.0.30.0180.04520.34
7.0.20.0150.02720.35
7.0.10.0100.03620.37
7.0.00.0060.04620.34
5.6.400.0060.01318.20
5.6.390.0060.01018.14
5.6.380.0110.00418.18
5.6.370.0070.01018.15
5.6.360.0040.01417.84
5.6.350.0140.00317.92
5.6.340.0060.00917.81
5.6.330.0080.00418.04
5.6.320.0090.00917.91
5.6.310.0040.01117.76
5.6.300.0070.01017.99
5.6.290.0130.00618.06
5.6.280.0060.04321.42
5.6.270.0070.01017.84
5.6.260.0040.01218.32
5.6.250.0040.00717.91
5.6.240.0040.01118.02
5.6.230.0070.00718.28
5.6.220.0130.00317.94
5.6.210.0090.02921.08
5.6.200.0070.02518.24
5.6.190.0070.04820.98
5.6.180.0180.02621.08
5.6.170.0120.03321.03
5.6.160.0100.03120.86
5.6.150.0040.03618.11
5.6.140.0070.04018.04
5.6.130.0020.03118.24
5.6.120.0060.02621.30
5.6.110.0080.04621.32
5.6.100.0050.02821.48
5.6.90.0000.04121.34
5.6.80.0090.04221.06
5.6.70.0030.01317.93
5.6.60.0080.00717.95
5.6.50.0140.00317.96
5.6.40.0080.01117.81
5.6.30.0070.00718.06
5.6.20.0070.00318.16
5.6.10.0030.01518.10
5.6.00.0100.01017.70
5.5.380.0120.00618.38
5.5.370.0100.00717.68
5.5.360.0040.00717.63
5.5.350.2140.03121.03
5.5.340.0100.02517.79
5.5.330.0020.05120.78
5.5.320.0200.04220.80
5.5.310.0250.04220.81
5.5.300.0060.04118.00
5.5.290.0020.04118.01
5.5.280.0050.03320.97
5.5.270.0120.04321.27
5.5.260.0100.04621.00
5.5.250.0080.04720.78
5.5.240.0150.04820.94
5.5.230.0080.00518.11
5.5.220.0080.00417.80
5.5.210.0190.00018.16
5.5.200.0030.00918.12
5.5.190.0110.00417.73
5.5.180.0060.01217.77
5.5.170.0070.01318.01
5.5.160.0070.00717.79
5.5.150.0090.00917.53
5.5.140.0000.01517.64
5.5.130.0000.01617.29
5.5.120.0130.00317.83
5.5.110.0030.01017.47
5.5.100.0060.00917.83
5.5.90.0070.00717.75
5.5.80.0060.01318.29
5.5.70.0140.00317.88
5.5.60.0040.00817.69
5.5.50.0030.01017.43
5.5.40.0000.01417.84
5.5.30.0080.00417.54
5.5.20.0040.01117.61
5.5.10.0070.01017.93
5.5.00.0090.00918.05

preferences:
49.45 ms | 401 KiB | 5 Q