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::NONE, IntlDateFormatter::NONE, $tzSydney, IntlDateFormatter::GREGORIAN); $formatterAmsterdam = new IntlDateFormatter('en_UK', IntlDateFormatter::NONE, 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.0060.01021.89
8.3.50.0300.01122.98
8.3.40.0040.01221.20
8.3.30.0090.00621.33
8.3.20.0050.00322.45
8.3.10.0060.00325.73
8.3.00.0030.01020.84
8.2.180.0030.01320.13
8.2.170.0070.01022.96
8.2.160.0070.00722.78
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0090.00026.16
8.2.120.0030.00524.41
8.2.110.0060.00322.92
8.2.100.0080.00421.22
8.2.90.0060.00321.47
8.2.80.0090.00020.75
8.2.70.0030.00620.75
8.2.60.0080.00020.93
8.2.50.0060.00320.75
8.2.40.0070.00321.16
8.2.30.0000.00821.07
8.2.20.0060.00320.89
8.2.10.0080.00020.98
8.2.00.0060.00320.95
8.1.280.0070.01625.92
8.1.270.0050.00526.08
8.1.260.0080.00026.35
8.1.250.0060.00328.09
8.1.240.0030.00724.36
8.1.230.0000.01221.91
8.1.220.0030.00620.79
8.1.210.0030.00620.66
8.1.200.0060.00320.47
8.1.190.0040.00420.47
8.1.180.0030.00620.53
8.1.170.0060.00321.59
8.1.160.0040.00424.15
8.1.150.0030.00621.19
8.1.140.0030.00620.77
8.1.130.0030.00620.96
8.1.120.0040.00420.68
8.1.110.0030.00520.51
8.1.100.0050.00320.72
8.1.90.0050.00320.80
8.1.80.0040.00420.79
8.1.70.0080.00020.71
8.1.60.0030.00720.84
8.1.50.0040.00420.89
8.1.40.0050.00520.85
8.1.30.0090.00020.97
8.1.20.0030.00621.00
8.1.10.0090.00020.77
8.1.00.0080.00020.71
8.0.300.0090.00020.47
8.0.290.0030.00619.88
8.0.280.0000.00820.95
8.0.270.0000.00820.43
8.0.260.0000.00720.48
8.0.250.0020.00520.29
8.0.240.0000.00720.41
8.0.230.0040.00420.43
8.0.220.0040.00720.06
8.0.210.0030.00620.18
8.0.200.0040.00420.40
8.0.190.0050.00320.28
8.0.180.0080.00020.22
8.0.170.0090.00020.23
8.0.160.0040.00420.20
8.0.150.0000.00819.93
8.0.140.0060.00320.20
8.0.130.0030.00613.56
8.0.120.0040.00420.17
8.0.110.0060.00320.43
8.0.100.0040.00420.05
8.0.90.0030.00620.37
8.0.80.0080.01720.00
8.0.70.0030.00620.27
8.0.60.0060.00319.80
8.0.50.0080.00020.18
8.0.30.0140.00920.68
8.0.20.0150.01020.38
8.0.10.0080.00020.29
8.0.00.0050.01420.21
7.4.330.0020.00215.00
7.4.320.0000.00720.10
7.4.300.0050.00220.03
7.4.290.0060.00320.00
7.4.280.0050.00520.14
7.4.270.0000.00819.93
7.4.260.0190.00019.91
7.4.250.0040.00419.90
7.4.240.0060.00220.06
7.4.230.0000.00919.90
7.4.220.0090.01919.82
7.4.210.0120.00419.95
7.4.200.0000.00819.82
7.4.160.0000.01619.83
7.4.150.0100.01620.02
7.4.140.0140.01319.89
7.4.130.0080.01419.92
7.4.120.0100.01019.95
7.4.110.0100.01119.99
7.4.100.0100.00919.88
7.4.90.0070.01119.89
7.4.80.0090.00919.61
7.4.70.0040.01519.96
7.4.60.0060.01219.93
7.4.50.0060.00319.75
7.4.40.0060.01219.95
7.4.30.0060.01319.92
7.4.00.0000.01518.39
7.3.330.0060.00013.46
7.3.320.0030.00313.46
7.3.310.0000.00819.64
7.3.300.0030.00519.52
7.3.290.0090.00619.59
7.3.280.0110.00619.54
7.3.270.0130.01319.67
7.3.260.0120.00619.47
7.3.250.0130.00619.64
7.3.240.0130.00619.58
7.3.230.0090.01620.08
7.3.210.0080.01219.98
7.3.200.0090.01719.79
7.3.190.0160.00719.79
7.3.180.0060.01219.86
7.3.170.0060.01219.61
7.3.160.0090.00919.88
7.2.330.0100.00919.66
7.2.320.0150.00319.89
7.2.310.0130.00719.88
7.2.300.0060.01220.00
7.2.290.0190.00420.11
7.2.60.0100.00720.09
7.2.00.0070.00323.11
7.1.200.0180.00919.22
7.1.100.0030.01021.60
7.1.70.0040.00720.67
7.1.60.0200.00720.74
7.1.50.0040.01420.66
7.1.00.0100.07025.76
7.0.200.0000.01120.10
7.0.140.0030.07725.17
7.0.60.0130.06323.04
7.0.50.0130.03017.70
7.0.40.0100.06023.07
7.0.30.0500.07323.34
7.0.20.0330.06323.05
7.0.10.0130.08023.09
7.0.00.0130.07322.94
5.6.210.0300.05723.71
5.6.200.0070.05718.16
5.6.190.0070.05023.35
5.6.180.0200.05323.34
5.6.170.0170.05023.46
5.6.160.0070.05023.33
5.6.150.0030.07318.12
5.6.140.0070.03718.07
5.6.130.0030.05318.17
5.6.120.0030.07023.75
5.6.110.0100.07324.15
5.6.100.0000.09324.23
5.6.90.0070.07724.06
5.6.80.0000.07023.55
5.5.350.0200.08023.63
5.5.340.0070.08317.91
5.5.330.0000.05323.04
5.5.320.0230.04723.13
5.5.310.0100.04723.20
5.5.300.0030.03718.02
5.5.290.0030.08017.96
5.5.280.0130.03323.89
5.5.270.0270.04023.66
5.5.260.0100.08723.87
5.5.250.0030.07723.76
5.5.240.0130.07023.23
5.4.450.0130.06019.30
5.4.440.0930.07719.61
5.4.430.0330.06319.27
5.4.420.0670.00019.50
5.4.410.0670.00019.35
5.4.400.0630.00019.02
5.4.390.0870.00019.00
5.4.380.0630.00019.05
5.4.370.0630.00019.16
5.4.360.0670.00018.99
5.4.350.0730.00019.05
5.4.340.0100.03111.97
5.4.320.0050.03812.46
5.4.310.0060.04212.45
5.4.300.0080.03912.46
5.4.290.0050.04012.46
5.4.280.0050.03912.36
5.4.270.0030.03912.36
5.4.260.0030.04012.35
5.4.250.0040.04412.36
5.4.240.0080.03512.35
5.4.230.0080.03712.35
5.4.220.0080.03612.34
5.4.210.0030.04012.35
5.4.200.0050.03812.34
5.4.190.0080.03412.34
5.4.180.0070.03912.34
5.4.170.0090.04112.36
5.4.160.0060.03512.35
5.4.150.0070.03412.35
5.4.140.0040.03912.03
5.4.130.0080.03312.02
5.4.120.0070.04811.97
5.4.110.0060.03711.97
5.4.100.0060.03811.97
5.4.90.0040.04311.97
5.4.80.0070.03711.97
5.4.70.0090.03311.97
5.4.60.0050.03611.97
5.4.50.0030.03811.97
5.4.40.0090.04111.96
5.4.30.0080.03311.95
5.4.20.0090.03511.95
5.4.10.0070.03811.96
5.4.00.0050.04611.44
5.3.290.0080.04012.80
5.3.280.0070.04012.71
5.3.270.0070.04512.72
5.3.260.0100.05012.72
5.3.250.0080.03912.72
5.3.240.0070.04812.72
5.3.230.0090.04812.71
5.3.220.0050.04012.68
5.3.210.0060.04812.68
5.3.200.0050.04012.68
5.3.190.0050.03812.68
5.3.180.0080.03512.67
5.3.170.0050.03812.67
5.3.160.0070.04412.67
5.3.150.0060.04112.68
5.3.140.0070.04712.66
5.3.130.0070.03812.66
5.3.120.0060.03912.66
5.3.110.0090.04312.65
5.3.100.0080.03612.12
5.3.90.0050.04412.08
5.3.80.0100.03812.07
5.3.70.0070.03912.07
5.3.60.0050.03812.07
5.3.50.0060.03612.00
5.3.40.0040.04012.00
5.3.30.0050.03611.96
5.3.20.0050.03611.73
5.3.10.0080.03911.70
5.3.00.0110.04111.69
5.2.170.0030.0329.19
5.2.160.0050.0299.19
5.2.150.0020.0339.19
5.2.140.0030.0329.19
5.2.130.0050.0309.15
5.2.120.0030.0299.15
5.2.110.0030.0309.16
5.2.100.0080.0339.15
5.2.90.0060.0419.15
5.2.80.0050.0359.14
5.2.70.0050.0329.15
5.2.60.0060.0319.10
5.2.50.0040.0359.07
5.2.40.0070.0289.05
5.2.30.0030.0359.02
5.2.20.0070.0289.01
5.2.10.0050.0288.94
5.2.00.0050.0288.79
5.1.60.0030.0258.07
5.1.50.0060.0248.06
5.1.40.0050.0288.05
5.1.30.0060.0278.39
5.1.20.0010.0298.42
5.1.10.0030.0268.14
5.1.00.0040.0298.14
5.0.50.0030.0256.64
5.0.40.0040.0186.49
5.0.30.0040.0356.31
5.0.20.0020.0216.28
5.0.10.0050.0266.25
5.0.00.0040.0346.25
4.4.90.0020.0234.78
4.4.80.0030.0154.76
4.4.70.0030.0194.75
4.4.60.0020.0164.75
4.4.50.0030.0154.77
4.4.40.0040.0244.71
4.4.30.0020.0174.76
4.4.20.0050.0134.84
4.4.10.0030.0164.85
4.4.00.0010.0264.76
4.3.110.0000.0194.67
4.3.100.0020.0154.67
4.3.90.0020.0154.64
4.3.80.0040.0274.58
4.3.70.0060.0144.63
4.3.60.0020.0164.63
4.3.50.0020.0164.63
4.3.40.0040.0254.54
4.3.30.0020.0163.29
4.3.20.0030.0163.27
4.3.10.0030.0193.22
4.3.00.0070.0177.24

preferences:
45.52 ms | 401 KiB | 5 Q