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, 'dd MMMM yyyy'); $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.40.0120.00321.29
8.3.30.0100.00721.23
8.3.20.0040.00422.45
8.3.10.0060.00325.56
8.3.00.0060.00322.50
8.2.170.0120.00322.96
8.2.160.0120.00322.60
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0050.00326.16
8.2.120.0030.00620.75
8.2.110.0060.00624.37
8.2.100.0070.00721.05
8.2.90.0000.00821.36
8.2.80.0030.00620.75
8.2.70.0090.00620.63
8.2.60.0180.00021.03
8.2.50.0040.00720.75
8.2.40.0080.01122.21
8.2.30.0150.00722.98
8.2.20.0060.00320.95
8.2.10.0000.00921.17
8.2.00.0030.00621.04
8.1.270.0090.00026.16
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0060.00324.91
8.1.230.0130.00020.48
8.1.220.0080.00020.80
8.1.210.0040.00420.48
8.1.200.0000.01120.48
8.1.190.0050.00520.35
8.1.180.0090.00020.65
8.1.170.0070.00423.49
8.1.160.0000.01024.17
8.1.150.0060.00321.32
8.1.140.0030.00622.71
8.1.130.0000.00820.93
8.1.120.0030.00520.77
8.1.110.0030.00720.80
8.1.100.0000.00920.82
8.1.90.0030.00520.79
8.1.80.0000.00820.56
8.1.70.0040.00420.71
8.1.60.0080.00420.86
8.1.50.0040.00420.68
8.1.40.0070.00420.69
8.1.30.0030.00621.00
8.1.20.0000.00820.65
8.1.10.0030.00620.70
8.1.00.0060.00620.72
8.0.300.0050.00520.16
8.0.290.0080.00019.86
8.0.280.0040.00420.73
8.0.270.0030.00520.39
8.0.260.0040.00420.44
8.0.250.0040.00420.21
8.0.240.0090.00020.48
8.0.230.0000.00820.39
8.0.220.0040.00420.41
8.0.210.0040.00420.25
8.0.200.0040.00420.22
8.0.190.0030.00720.20
8.0.180.0000.00820.36
8.0.170.0000.00820.30
8.0.160.0000.00820.35
8.0.150.0040.00420.19
8.0.140.0040.00819.99
8.0.130.0000.00713.52
8.0.120.0040.00420.27
8.0.110.0030.00620.00
8.0.100.0040.00420.42
8.0.90.0000.00820.25
8.0.80.0090.01320.06
8.0.70.0040.00420.34
8.0.60.0080.00020.37
8.0.50.0040.00420.45
8.0.30.0090.01420.32
8.0.20.0150.00720.36
8.0.10.0000.00820.40
8.0.00.0090.01119.97
7.4.330.0000.00515.11
7.4.320.0000.00720.09
7.4.300.0060.00319.97
7.4.290.0000.00819.86
7.4.280.0030.00619.94
7.4.270.0050.00220.05
7.4.260.0040.00420.08
7.4.250.0060.00319.91
7.4.240.0000.00819.78
7.4.230.0000.00819.89
7.4.220.0060.01520.07
7.4.210.0080.01020.08
7.4.200.0000.00820.16
7.4.160.0030.01319.78
7.4.150.0160.00320.11
7.4.140.0120.01219.84
7.4.130.0170.01320.08
7.4.120.0140.00719.89
7.4.110.0120.00920.14
7.4.100.0070.01319.96
7.4.90.0090.00919.86
7.4.80.0000.01820.06
7.4.70.0130.00919.82
7.4.60.0110.00819.92
7.4.50.0030.00719.88
7.4.40.0090.01319.94
7.4.30.0040.01519.83
7.4.10.0130.00618.09
7.4.00.0080.00818.19
7.3.330.0020.00313.40
7.3.320.0030.00313.21
7.3.310.0000.00819.41
7.3.300.0080.00019.28
7.3.290.0030.00619.30
7.3.280.0080.01119.50
7.3.270.0130.00719.55
7.3.260.0090.00919.42
7.3.240.0160.00919.91
7.3.230.0150.00619.82
7.3.210.0090.00919.61
7.3.200.0180.00019.66
7.3.190.0120.00619.64
7.3.180.0140.00419.40
7.3.170.0090.01019.78
7.3.160.0110.00719.69
7.3.130.0070.01018.02
7.3.120.0090.00918.09
7.3.110.0090.01117.81
7.3.100.0030.01017.73
7.3.90.0060.00517.92
7.3.80.0020.01217.93
7.3.70.0080.00817.81
7.3.60.0060.00917.90
7.3.50.0070.01118.01
7.3.40.0100.00617.92
7.3.30.0050.01018.00
7.3.20.0080.00819.67
7.3.10.0080.00919.79
7.3.00.0060.00719.91
7.2.330.0070.01419.79
7.2.320.0100.01020.01
7.2.310.0160.00919.62
7.2.300.0070.01120.06
7.2.290.0120.00919.99
7.2.260.0070.01018.00
7.2.250.0020.01818.55
7.2.240.0020.01618.21
7.2.230.0070.01018.31
7.2.220.0070.01018.27
7.2.210.0030.01318.39
7.2.200.0060.01118.09
7.2.190.0050.00718.26
7.2.180.0040.00818.12
7.2.170.0060.01018.18
7.2.160.0090.00318.10
7.2.150.0090.00620.08
7.2.140.0100.00720.16
7.2.130.0030.01220.20
7.2.120.0030.01220.04
7.2.110.0060.01220.16
7.2.100.0120.00020.02
7.2.90.0080.00819.91
7.2.80.0110.00420.39
7.2.70.0060.01320.23
7.2.60.0050.01020.16
7.2.50.0110.00720.17
7.2.40.0000.01720.11
7.2.30.0040.01520.20
7.2.20.0080.00820.11
7.2.10.0040.01420.22
7.2.00.0160.00821.36
7.1.330.0080.00819.26
7.1.320.0080.01019.10
7.1.310.0110.00519.05
7.1.300.0080.00919.24
7.1.290.0030.01219.03
7.1.280.0070.00719.15
7.1.270.0020.01319.00
7.1.260.0050.01219.07
7.1.250.0070.00718.70
7.1.240.0090.00619.05
7.1.230.0100.00319.04
7.1.220.0070.00719.16
7.1.210.0060.01119.05
7.1.200.0040.01019.15
7.1.190.0070.00319.27
7.1.180.0000.01018.91
7.1.170.0060.00918.84
7.1.160.0060.00318.88
7.1.150.0100.01019.03
7.1.140.0070.01119.04
7.1.130.0070.01119.14
7.1.120.0070.01119.23
7.1.110.0030.01019.02
7.1.100.0020.01220.34
7.1.90.0100.00719.26
7.1.80.0070.01019.20
7.1.70.0050.00419.72
7.1.60.0050.01619.92
7.1.50.0110.00819.86
7.1.40.0070.01119.15
7.1.30.0100.00319.28
7.1.20.0060.00619.34
7.1.10.0030.01218.95
7.1.00.0070.04022.17
7.0.330.0090.00618.69
7.0.320.0080.01119.00
7.0.310.0070.00318.96
7.0.300.0060.00918.69
7.0.290.0090.00618.84
7.0.280.0070.00718.71
7.0.270.0030.00718.86
7.0.260.0000.01518.70
7.0.250.0090.00618.76
7.0.240.0060.01018.84
7.0.230.0040.01118.96
7.0.220.0090.00618.72
7.0.210.0040.01218.74
7.0.200.0140.00818.41
7.0.190.0080.00818.95
7.0.180.0030.01018.75
7.0.170.0000.01618.86
7.0.160.0130.00318.83
7.0.150.0030.01418.91
7.0.140.0070.01018.64
7.0.130.0030.01419.04
7.0.120.0030.01618.80
7.0.110.0100.00718.77
7.0.100.0090.01018.54
7.0.90.0150.00318.79
7.0.80.0120.00818.73
7.0.70.0070.00718.82
7.0.60.0050.04520.99
7.0.50.0110.04318.19
7.0.40.0140.02819.86
7.0.30.0050.03319.83
7.0.20.0190.01919.80
7.0.10.0030.04419.98
7.0.00.0090.02819.85
5.6.400.0030.01017.33
5.6.390.0120.00417.75
5.6.380.0080.00517.54
5.6.370.0110.00417.71
5.6.360.0040.01517.49
5.6.350.0070.00717.83
5.6.340.0090.01117.56
5.6.330.0110.00717.41
5.6.320.0120.00617.52
5.6.310.0060.01317.57
5.6.300.0140.00417.77
5.6.290.0080.00817.76
5.6.280.0050.04320.88
5.6.270.0000.01917.50
5.6.260.0070.01017.88
5.6.250.0120.00617.29
5.6.240.0120.00317.59
5.6.230.0040.00817.76
5.6.220.0080.00417.37
5.6.210.0150.03920.60
5.6.200.0100.04217.87
5.6.190.0090.02520.42
5.6.180.0170.03320.59
5.6.170.0180.04320.37
5.6.160.0020.02820.54
5.6.150.0070.04417.88
5.6.140.0100.02417.88
5.6.130.0090.03217.83
5.6.120.0020.03020.97
5.6.110.0100.03320.90
5.6.100.0120.04320.77
5.6.90.0050.04720.71
5.6.80.0070.02320.52
5.6.70.0040.00817.62
5.6.60.0000.00917.29
5.6.50.0000.01217.67
5.6.40.0100.00717.51
5.6.30.0060.00617.46
5.6.20.0030.00917.58
5.6.10.0070.00417.64
5.6.00.0060.00617.29
5.5.380.0030.00917.16
5.5.370.0000.01117.54
5.5.360.0060.01017.56
5.5.350.0230.03720.46
5.5.340.0070.02317.70
5.5.330.0100.03820.44
5.5.320.0110.02120.56
5.5.310.0190.02420.40
5.5.300.0070.03517.90
5.5.290.0050.02817.62
5.5.280.0050.04720.49
5.5.270.0080.04620.86
5.5.260.0050.04820.77
5.5.250.0050.04720.56
5.5.240.0020.02520.47
5.5.230.0080.00417.68
5.5.220.0000.01417.64
5.5.210.0110.00317.09
5.5.200.0040.01117.18
5.5.190.0030.01017.08
5.5.180.0070.00317.55
5.5.170.0030.00817.77
5.5.160.0030.01017.82
5.5.150.0140.00317.28
5.5.140.0070.00417.52
5.5.130.0120.00017.27
5.5.120.0060.00317.17
5.5.110.0030.00617.47
5.5.100.0100.00317.64
5.5.90.0070.01117.84
5.5.80.0130.00317.91
5.5.70.0060.00917.54
5.5.60.0050.00517.13
5.5.50.0070.00717.36
5.5.40.0040.00717.29
5.5.30.0000.00917.29
5.5.20.0090.00317.47
5.5.10.0030.00617.29
5.5.00.0100.00317.75

preferences:
43.66 ms | 400 KiB | 5 Q