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) . '<br>'; 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.00921.68
8.3.50.0330.01423.10
8.3.40.0030.01320.94
8.3.30.0120.00321.46
8.3.20.0030.00622.56
8.3.10.0090.00025.95
8.3.00.0030.00922.38
8.2.180.0100.00620.38
8.2.170.0100.00722.96
8.2.160.0070.00722.64
8.2.150.0060.00324.18
8.2.140.0060.00324.66
8.2.130.0050.00326.16
8.2.120.0040.00424.59
8.2.110.0070.00422.71
8.2.100.0080.00421.28
8.2.90.0050.00521.61
8.2.80.0000.00920.75
8.2.70.0040.00420.63
8.2.60.0090.00020.80
8.2.50.0100.00020.88
8.2.40.0000.00821.03
8.2.30.0000.00821.21
8.2.20.0030.00620.89
8.2.10.0040.00421.00
8.2.00.0060.00320.80
8.1.280.0070.01525.92
8.1.270.0030.00626.08
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0100.00024.29
8.1.230.0080.00422.16
8.1.220.0030.00620.78
8.1.210.0000.00820.63
8.1.200.0030.00720.48
8.1.190.0030.00620.48
8.1.180.0090.00020.53
8.1.170.0040.00421.61
8.1.160.0040.00424.30
8.1.150.0000.00821.27
8.1.140.0040.00420.71
8.1.130.0040.00421.04
8.1.120.0040.00420.70
8.1.110.0040.00420.52
8.1.100.0000.00820.86
8.1.90.0000.00820.87
8.1.80.0000.00820.71
8.1.70.0040.00420.71
8.1.60.0060.00320.63
8.1.50.0100.00020.78
8.1.40.0060.00320.87
8.1.30.0030.00620.73
8.1.20.0030.00620.95
8.1.10.0040.00420.74
8.1.00.0060.00320.66
8.0.300.0000.00920.35
8.0.290.0040.00420.13
8.0.280.0000.00820.86
8.0.270.0000.00920.39
8.0.260.0050.00220.47
8.0.250.0040.00420.42
8.0.240.0000.00820.20
8.0.230.0000.00920.27
8.0.220.0040.00720.10
8.0.210.0030.00520.07
8.0.200.0030.00620.34
8.0.190.0090.00020.21
8.0.180.0000.00920.27
8.0.170.0060.00320.30
8.0.160.0000.00820.05
8.0.150.0000.00819.95
8.0.140.0000.01220.17
8.0.130.0000.00813.59
8.0.120.0030.00620.05
8.0.110.0080.00020.47
8.0.100.0030.00619.99
8.0.90.0000.00819.86
8.0.80.0090.00920.22
8.0.70.0000.00819.99
8.0.60.0090.00019.90
8.0.50.0030.00620.42
8.0.30.0180.00720.45
8.0.20.0120.01020.54
8.0.10.0030.00520.45
8.0.00.0110.00820.00
7.4.330.0000.00515.00
7.4.320.0000.00719.79
7.4.300.0020.00520.06
7.4.290.0000.00819.97
7.4.280.0080.00320.00
7.4.270.0000.00719.85
7.4.260.0040.00419.99
7.4.250.0040.00419.92
7.4.240.0020.00620.01
7.4.230.0050.00320.20
7.4.220.0110.00819.92
7.4.210.0130.00720.00
7.4.200.0000.00820.09
7.4.160.0120.00620.03
7.4.150.0130.01319.79
7.4.140.0150.00919.86
7.4.130.0120.01020.04
7.4.120.0130.00519.90
7.4.110.0040.01519.75
7.4.100.0150.00619.87
7.4.90.0070.01419.78
7.4.80.0130.01319.90
7.4.70.0090.01019.95
7.4.60.0060.01319.69
7.4.50.0040.00419.77
7.4.40.0070.01119.90
7.4.30.0130.00720.10
7.4.00.0070.00718.54
7.3.330.0030.00313.23
7.3.320.0030.00313.33
7.3.310.0060.00319.43
7.3.300.0040.00419.56
7.3.290.0090.00619.36
7.3.280.0090.00819.52
7.3.270.0100.01019.51
7.3.260.0110.00819.91
7.3.250.0040.01819.80
7.3.240.0060.01319.59
7.3.230.0150.00319.87
7.3.210.0090.00919.61
7.3.200.0200.00619.91
7.3.190.0090.01619.52
7.3.180.0030.01419.85
7.3.170.0070.01519.65
7.3.160.0140.00319.38
7.2.330.0120.00620.01
7.2.320.0030.01619.97
7.2.310.0160.01019.87
7.2.300.0120.00619.52
7.2.290.0090.00919.88
7.2.60.0120.00920.25
7.2.00.0060.00923.12
7.1.200.0150.01118.96
7.1.100.0060.00621.39
7.1.70.0000.00920.51
7.1.60.0040.01820.72
7.1.50.0080.00420.27
7.1.00.0070.07725.59
7.0.200.0030.00820.27
7.0.140.0100.07025.28
7.0.60.0000.05022.97
7.0.50.0100.07317.93
7.0.40.0030.07722.95
7.0.30.0470.07723.07
7.0.20.0170.08723.00
7.0.10.0100.08723.34
7.0.00.0070.05723.33
5.6.280.0070.07324.16
5.6.210.0100.07723.70
5.6.200.0030.04318.21
5.6.190.0070.04023.39
5.6.180.0300.05023.44
5.6.170.0330.08023.26
5.6.160.0030.07023.24
5.6.150.0030.04018.08
5.6.140.0030.04018.13
5.6.130.0030.05018.12
5.6.120.0100.08323.99
5.6.110.0030.08024.00
5.6.100.0170.07323.89
5.6.90.0130.05323.96
5.6.80.0170.04023.33
5.5.350.0100.08723.50
5.5.340.0100.07717.95
5.5.330.0170.07323.35
5.5.320.0270.04023.09
5.5.310.0170.04723.18
5.5.300.0130.03717.95
5.5.290.0000.04317.97
5.5.280.0000.06323.72
5.5.270.0070.08323.81
5.5.260.0000.06023.82
5.5.250.0100.08323.62
5.5.240.0270.07723.11
5.4.450.0800.06719.13
5.4.440.0800.05719.62
5.4.430.0800.06719.45
5.4.420.0670.00019.46
5.4.410.0670.00019.05
5.4.400.0630.00019.17
5.4.390.0600.00019.13
5.4.380.0730.00018.93
5.4.370.0670.00019.15
5.4.360.0630.00019.16
5.4.350.0670.00019.26
5.4.340.0060.03411.97
5.4.320.0050.03712.46
5.4.310.0040.04012.45
5.4.300.0070.03612.46
5.4.290.0080.03712.46
5.4.280.0030.04212.36
5.4.270.0070.03712.36
5.4.260.0070.03712.35
5.4.250.0090.03612.35
5.4.240.0040.04012.36
5.4.230.0070.05112.34
5.4.220.0100.04512.34
5.4.210.0090.04412.34
5.4.200.0100.04612.34
5.4.190.0050.04412.34
5.4.180.0060.03812.34
5.4.170.0060.03612.35
5.4.160.0080.04112.35
5.4.150.0130.04612.34
5.4.140.0060.04912.03
5.4.130.0070.03712.02
5.4.120.0060.03711.98
5.4.110.0070.03811.97
5.4.100.0080.03411.97
5.4.90.0080.03511.97
5.4.80.0070.03611.97
5.4.70.0040.03711.97
5.4.60.0050.03611.97
5.4.50.0080.03511.97
5.4.40.0050.04011.96
5.4.30.0130.04011.96
5.4.20.0060.03911.95
5.4.10.0080.03711.96
5.4.00.0050.03711.45
5.3.290.0080.03812.80
5.3.280.0060.03812.71
5.3.270.0090.03812.72
5.3.260.0090.03712.72
5.3.250.0050.03812.72
5.3.240.0090.04312.72
5.3.230.0070.04212.70
5.3.220.0040.03812.68
5.3.210.0080.03612.68
5.3.200.0060.03812.68
5.3.190.0060.03812.68
5.3.180.0060.03612.67
5.3.170.0080.03512.67
5.3.160.0080.03412.67
5.3.150.0100.03312.67
5.3.140.0060.03912.66
5.3.130.0080.04312.66
5.3.120.0060.04512.66
5.3.110.0080.05112.66
5.3.100.0040.04012.12
5.3.90.0080.04312.09
5.3.80.0070.03812.08
5.3.70.0070.03512.08
5.3.60.0080.03412.06
5.3.50.0070.03512.00
5.3.40.0080.03412.00
5.3.30.0080.03411.95
5.3.20.0080.03711.73
5.3.10.0050.04411.70
5.3.00.0080.03511.70
5.2.170.0060.0349.19
5.2.160.0070.0279.19
5.2.150.0070.0419.19
5.2.140.0080.0409.19
5.2.130.0050.0329.15
5.2.120.0040.0299.15
5.2.110.0050.0309.15
5.2.100.0060.0339.15
5.2.90.0060.0279.15
5.2.80.0060.0309.14
5.2.70.0070.0309.14
5.2.60.0060.0299.10
5.2.50.0060.0309.07
5.2.40.0060.0279.04
5.2.30.0030.0329.02
5.2.20.0050.0289.01
5.2.10.0040.0298.93
5.2.00.0050.0288.79
5.1.60.0030.0258.07
5.1.50.0030.0308.06
5.1.40.0050.0268.05
5.1.30.0050.0268.40
5.1.20.0050.0278.42
5.1.10.0040.0268.14
5.1.00.0040.0258.14
5.0.50.0020.0226.63
5.0.40.0040.0186.50
5.0.30.0030.0316.31
5.0.20.0040.0186.28
5.0.10.0050.0186.26
5.0.00.0030.0306.25
4.4.90.0040.0154.78
4.4.80.0020.0164.76
4.4.70.0050.0174.75
4.4.60.0030.0154.75
4.4.50.0020.0174.77
4.4.40.0050.0264.71
4.4.30.0030.0194.76
4.4.20.0010.0194.84
4.4.10.0030.0194.85
4.4.00.0040.0344.76
4.3.110.0010.0174.67
4.3.100.0010.0174.66
4.3.90.0010.0164.63
4.3.80.0040.0234.58
4.3.70.0050.0164.63
4.3.60.0080.0154.63
4.3.50.0060.0354.63
4.3.40.0060.0294.54
4.3.30.0040.0213.29
4.3.20.0050.0183.27
4.3.10.0040.0193.22
4.3.00.0130.0237.24

preferences:
40.02 ms | 401 KiB | 5 Q