3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tzSydney = new DateTimeZone('Australia/Sydney'); $tzAmsterdam = new DateTimeZone('Europe/Amsterdam'); $dateA = new DateTime('2014-10-25 12:00:00', $tzSydney); $dateB = new DateTime('2014-10-25 03:00:00', $tzAmsterdam); $formatterSydney = new IntlDateFormatter('en_UK', IntlDateFormatter::LONG, IntlDateFormatter::NONE, $tzSydney, IntlDateFormatter::GREGORIAN); $formatterAmsterdam = new IntlDateFormatter('en_UK', IntlDateFormatter::LONG, IntlDateFormatter::NONE, $tzAmsterdam, IntlDateFormatter::GREGORIAN); echo $formatterAmsterdam->format($dateA) . PHP_EOL; echo $formatterSydney->format($dateB);

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.0140.00720.13
8.3.50.0190.00821.67
8.3.40.0130.00321.17
8.3.30.0160.00021.08
8.3.20.0050.00322.41
8.3.10.0030.00625.70
8.3.00.0060.00322.63
8.2.180.0190.00322.16
8.2.170.0070.01122.96
8.2.160.0140.00022.77
8.2.150.0060.00325.66
8.2.140.0080.00024.66
8.2.130.0060.00326.16
8.2.120.0190.00020.63
8.2.110.0060.00324.33
8.2.100.0060.00620.93
8.2.90.0040.00421.59
8.2.80.0000.00920.72
8.2.70.0060.00320.85
8.2.60.0000.00920.93
8.2.50.0000.00920.88
8.2.40.0030.00522.28
8.2.30.0000.00922.99
8.2.20.0000.00820.89
8.2.10.0000.00821.02
8.2.00.0030.00621.22
8.1.280.0100.01325.92
8.1.270.0030.00626.14
8.1.260.0060.00326.35
8.1.250.0000.00828.09
8.1.240.0050.00524.82
8.1.230.0080.00420.79
8.1.220.0040.00420.77
8.1.210.0030.00620.47
8.1.200.0060.00620.35
8.1.190.0030.00620.35
8.1.180.0040.00420.53
8.1.170.0000.00821.95
8.1.160.0060.00324.32
8.1.150.0070.00321.27
8.1.140.0030.00622.61
8.1.130.0040.00420.93
8.1.120.0000.00820.81
8.1.110.0030.00620.65
8.1.100.0080.00020.66
8.1.90.0030.00620.78
8.1.80.0040.01120.78
8.1.70.0030.00520.79
8.1.60.0060.00320.90
8.1.50.0150.00920.52
8.1.40.0290.00020.55
8.1.30.0170.00821.04
8.1.20.0030.00621.02
8.1.10.0100.00520.77
8.1.00.0120.00820.60
8.0.300.0000.00819.98
8.0.290.0050.00319.88
8.0.280.0000.00820.67
8.0.270.0090.00320.41
8.0.260.0040.00420.26
8.0.250.0030.00620.33
8.0.240.0120.00620.07
8.0.230.0030.00520.24
8.0.220.0030.00620.38
8.0.210.0030.00620.14
8.0.200.0040.00420.17
8.0.190.0030.00620.20
8.0.180.0000.00820.51
8.0.170.0160.00320.13
8.0.160.0040.00720.25
8.0.150.0000.00920.03
8.0.140.0100.00320.20
8.0.130.0030.00313.59
8.0.120.0060.00320.26
8.0.110.0000.00920.11
8.0.100.0040.00420.07
8.0.90.0040.00420.12
8.0.80.0030.01420.00
8.0.70.0000.00820.05
8.0.60.0030.00520.16
8.0.50.0080.00020.43
8.0.30.0150.00820.53
8.0.20.0110.01220.36
8.0.10.0000.00819.94
8.0.00.0160.00520.06
7.4.330.0050.00015.14
7.4.320.0000.00720.05
7.4.300.0050.00319.99
7.4.290.0040.00419.86
7.4.280.0000.00920.04
7.4.270.0050.00319.97
7.4.260.0000.00819.71
7.4.250.0040.00419.86
7.4.240.0040.00419.93
7.4.230.0000.00820.04
7.4.220.0210.00320.09
7.4.210.0100.00620.20
7.4.200.0080.00019.83
7.4.160.0070.01919.80
7.4.150.0080.01219.91
7.4.140.0150.01419.90
7.4.130.0120.00819.92
7.4.120.0100.00919.95
7.4.110.0160.01019.91
7.4.100.0120.01619.95
7.4.90.0070.01119.99
7.4.80.0130.00719.86
7.4.70.0090.00920.00
7.4.60.0250.00919.88
7.4.50.0000.01219.91
7.4.40.0190.01319.86
7.4.30.0120.00619.84
7.4.00.0180.00718.40
7.3.330.0000.00513.21
7.3.320.0050.00013.39
7.3.310.0040.00419.70
7.3.300.0030.00519.70
7.3.290.0000.00819.53
7.3.280.0130.01319.59
7.3.270.0070.01119.80
7.3.260.0230.00719.66
7.3.250.0130.00619.51
7.3.240.0140.00619.64
7.3.230.0140.00719.88
7.3.210.0030.01619.29
7.3.200.0030.01419.86
7.3.190.0080.01019.59
7.3.180.0100.00720.02
7.3.170.0140.01020.01
7.3.160.0210.01319.53
7.3.10.0070.00719.78
7.3.00.0070.01019.99
7.2.330.0100.01020.01
7.2.320.0130.01320.02
7.2.310.0100.01019.96
7.2.300.0110.00819.77
7.2.290.0130.00719.68
7.2.130.0030.01220.10
7.2.120.0100.00720.18
7.2.110.0070.01020.22
7.2.100.0000.01620.15
7.2.90.0110.00419.95
7.2.80.0110.00419.95
7.2.70.0070.01019.98
7.2.60.0020.01119.98
7.2.50.0120.00319.88
7.2.40.0060.01220.08
7.2.30.0000.01120.23
7.2.20.0070.00720.16
7.2.10.0030.01020.05
7.2.00.0210.00921.57
7.1.250.0030.01019.14
7.1.200.0120.00319.17
7.1.100.0080.00321.75
7.1.70.0060.00320.68
7.1.60.0100.01720.96
7.1.50.0140.01420.61
7.1.00.0070.07325.69
7.0.200.0360.01018.15
7.0.60.0330.07023.11
7.0.50.0170.07717.93
7.0.40.0070.04323.18
7.0.30.0100.04322.97
7.0.20.0270.04323.34
7.0.10.0070.07322.91
7.0.00.0100.08722.96
5.6.280.0000.06324.18
5.6.210.0130.07723.78
5.6.200.0100.07018.19
5.6.190.0100.03723.43
5.6.180.0200.09023.28
5.6.170.0170.05723.38
5.6.160.0030.09023.30
5.6.150.0170.07018.21
5.6.140.0030.07718.08
5.6.130.0030.08318.11
5.6.120.0070.05324.08
5.6.110.0100.07324.22
5.6.100.0100.06724.14
5.6.90.0200.07724.21
5.6.80.0070.03723.34
5.5.350.0270.06023.57
5.5.340.0030.04017.92
5.5.330.0100.05023.14
5.5.320.0170.08023.07
5.5.310.0300.07323.24
5.5.300.0100.05317.88
5.5.290.0000.04317.88
5.5.280.0070.05323.89
5.5.270.0000.04723.96
5.5.260.0070.08023.83
5.5.250.0030.06323.63
5.5.240.0200.03723.36

preferences:
30.34 ms | 400 KiB | 5 Q