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, 'd m Y'); $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.0070.01419.98
8.3.50.0080.01323.80
8.3.40.0090.00921.20
8.3.30.0120.00421.18
8.3.20.0040.00422.38
8.3.10.0030.00725.58
8.3.00.0000.00922.26
8.2.180.0130.01021.91
8.2.170.0170.00322.96
8.2.160.0070.00721.49
8.2.150.0090.00024.18
8.2.140.0090.00024.66
8.2.130.0040.00426.16
8.2.120.0060.00320.63
8.2.110.0100.00324.45
8.2.100.0200.00720.93
8.2.90.0060.00321.42
8.2.80.0070.00320.75
8.2.70.0060.00320.63
8.2.60.0050.00520.93
8.2.50.0090.00020.75
8.2.40.0030.00722.13
8.2.30.0080.00022.75
8.2.20.0040.00420.95
8.2.10.0000.01021.15
8.2.00.0060.00321.02
8.1.280.0100.01025.92
8.1.270.0090.00026.09
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0060.00323.13
8.1.230.0090.00320.79
8.1.220.0030.00620.78
8.1.210.0000.00920.34
8.1.200.0030.00620.35
8.1.190.0030.00720.24
8.1.180.0040.00420.66
8.1.170.0060.00321.95
8.1.160.0030.00524.27
8.1.150.0030.00721.29
8.1.140.0040.00422.81
8.1.130.0040.00420.95
8.1.120.0090.00020.78
8.1.110.0000.00820.71
8.1.100.0040.00420.82
8.1.90.0000.00820.55
8.1.80.0040.00720.55
8.1.70.0080.00020.83
8.1.60.0030.00720.93
8.1.50.0080.00320.67
8.1.40.0000.01020.90
8.1.30.0040.00421.18
8.1.20.0070.00321.12
8.1.10.0000.00820.78
8.1.00.0040.00820.73
8.0.300.0060.00320.07
8.0.290.0040.00420.00
8.0.280.0030.00520.74
8.0.270.0000.00720.40
8.0.260.0000.00820.40
8.0.250.0000.00920.43
8.0.240.0030.00620.39
8.0.230.0000.00720.52
8.0.220.0000.00820.24
8.0.210.0040.00420.21
8.0.200.0060.00320.27
8.0.190.0050.00520.32
8.0.180.0000.00920.23
8.0.170.0000.00920.28
8.0.160.0050.00320.15
8.0.150.0060.00320.09
8.0.140.0070.00320.13
8.0.130.0000.00613.57
8.0.120.0040.00420.21
8.0.110.0000.00820.44
8.0.100.0060.00320.08
8.0.90.0050.00319.88
8.0.80.0060.01620.40
8.0.70.0080.00020.46
8.0.60.0000.00819.99
8.0.50.0040.00419.88
8.0.30.0110.00820.42
8.0.20.0100.01520.54
8.0.10.0000.00820.54
8.0.00.0090.01120.09
7.4.330.0000.00515.08
7.4.320.0030.00520.00
7.4.300.0040.00420.05
7.4.290.0040.00419.77
7.4.280.0060.00319.96
7.4.270.0050.00319.87
7.4.260.0070.00320.06
7.4.250.0040.00420.04
7.4.240.0010.00720.07
7.4.230.0050.00319.73
7.4.220.0130.01019.93
7.4.210.0010.01520.12
7.4.200.0030.00519.98
7.4.160.0140.00319.92
7.4.150.0100.00919.84
7.4.140.0080.01219.85
7.4.130.0080.01919.66
7.4.120.0070.01320.04
7.4.110.0130.00619.95
7.4.100.0120.00920.09
7.4.90.0060.01319.84
7.4.80.0070.02119.73
7.4.70.0000.01819.91
7.4.60.0090.01019.84
7.4.50.0030.00619.98
7.4.40.0100.01019.85
7.4.30.0060.01319.98
7.4.10.0130.01018.05
7.4.00.0060.01318.38
7.3.330.0000.00513.31
7.3.320.0030.00313.39
7.3.310.0060.00319.33
7.3.300.0040.00419.70
7.3.290.0080.00019.65
7.3.280.0090.01119.56
7.3.270.0160.00319.68
7.3.260.0110.00719.65
7.3.240.0100.01219.85
7.3.230.0120.00819.79
7.3.210.0110.00819.82
7.3.200.0000.01819.30
7.3.190.0110.00719.63
7.3.180.0040.01419.80
7.3.170.0120.00619.41
7.3.160.0130.00619.62
7.3.130.0080.01617.95
7.3.120.0060.01517.96
7.3.110.0130.01117.68
7.3.100.0030.01117.95
7.3.90.0060.00717.91
7.3.80.0060.00817.86
7.3.70.0080.00717.82
7.3.60.0050.00917.99
7.3.50.0050.00817.98
7.3.40.0060.00917.98
7.3.30.0030.00918.01
7.3.20.0030.01419.79
7.3.10.0060.00919.71
7.3.00.0060.00619.66
7.2.330.0100.01019.90
7.2.320.0080.01220.00
7.2.310.0040.01819.67
7.2.300.0070.01719.77
7.2.290.0030.01619.80
7.2.260.0120.01218.41
7.2.250.0120.01118.15
7.2.240.0090.00917.96
7.2.230.0060.01118.40
7.2.220.0080.00618.32
7.2.210.0050.00918.50
7.2.200.0110.00518.11
7.2.190.0050.01118.24
7.2.180.0020.01118.13
7.2.170.0020.01118.31
7.2.160.0090.00918.28
7.2.150.0080.00320.23
7.2.140.0060.00920.16
7.2.130.0070.00720.19
7.2.120.0000.01520.13
7.2.110.0090.00620.13
7.2.100.0030.00820.13
7.2.90.0100.00720.12
7.2.80.0110.00620.25
7.2.70.0040.00820.16
7.2.60.0070.01020.10
7.2.50.0080.00420.18
7.2.40.0000.01220.22
7.2.30.0030.01320.26
7.2.20.0030.00720.33
7.2.10.0030.01320.41
7.2.00.0110.00721.53
7.1.330.0080.00819.21
7.1.320.0080.00419.27
7.1.310.0120.00519.05
7.1.300.0050.01019.20
7.1.290.0050.00519.10
7.1.280.0080.00819.14
7.1.270.0080.00519.26
7.1.260.0100.00719.23
7.1.250.0060.00619.23
7.1.240.0030.01419.13
7.1.230.0040.01119.13
7.1.220.0000.01019.18
7.1.210.0080.00819.24
7.1.200.0060.00319.09
7.1.190.0030.00919.05
7.1.180.0030.00619.31
7.1.170.0100.00619.32
7.1.160.0070.00319.05
7.1.150.0070.00719.47
7.1.140.0090.00618.83
7.1.130.0070.01018.98
7.1.120.0100.00719.27
7.1.110.0030.01319.41
7.1.100.0120.00720.54
7.1.90.0060.00919.05
7.1.80.0060.00319.20
7.1.70.0030.00919.96
7.1.60.0070.01519.71
7.1.50.0110.00919.69
7.1.40.0100.00319.35
7.1.30.0090.00619.27
7.1.20.0030.00619.20
7.1.10.0000.01419.29
7.1.00.0050.04422.45
7.0.330.0070.00718.93
7.0.320.0040.01118.82
7.0.310.0080.00318.91
7.0.300.0090.00618.86
7.0.290.0030.01318.91
7.0.280.0070.00418.86
7.0.270.0000.01018.70
7.0.260.0110.00718.74
7.0.250.0060.00618.89
7.0.240.0060.00918.88
7.0.230.0070.01119.02
7.0.220.0030.01018.75
7.0.210.0030.01018.97
7.0.200.0300.00918.56
7.0.190.0070.01019.03
7.0.180.0100.00418.89
7.0.170.0030.01018.86
7.0.160.0040.00419.11
7.0.150.0030.01618.87
7.0.140.0040.01119.14
7.0.130.0120.00318.73
7.0.120.0060.00918.80
7.0.110.0060.00618.90
7.0.100.0060.00618.83
7.0.90.0080.00818.96
7.0.80.0030.01018.82
7.0.70.0060.00919.05
7.0.60.0100.04221.20
7.0.50.0080.04218.29
7.0.40.0090.03020.02
7.0.30.0110.02519.84
7.0.20.0120.02319.88
7.0.10.0050.03319.94
7.0.00.0070.04719.75
5.6.400.0040.01117.66
5.6.390.0090.00617.77
5.6.380.0070.00317.53
5.6.370.0050.00517.86
5.6.360.0030.00817.71
5.6.350.0040.01117.95
5.6.340.0090.00917.84
5.6.330.0030.01217.75
5.6.320.0070.00317.69
5.6.310.0100.01017.79
5.6.300.0070.01117.87
5.6.290.0060.00617.57
5.6.280.0050.03320.75
5.6.270.0040.01117.90
5.6.260.0070.00417.41
5.6.250.0040.01517.56
5.6.240.0100.00717.65
5.6.230.0040.01517.37
5.6.220.0060.00817.70
5.6.210.0100.04020.66
5.6.200.0080.04617.94
5.6.190.0030.02820.52
5.6.180.0140.03820.51
5.6.170.0180.03620.54
5.6.160.0040.02420.45
5.6.150.0030.04317.97
5.6.140.0070.04718.03
5.6.130.0050.02617.85
5.6.120.0030.02720.88
5.6.110.0070.03320.87
5.6.100.0080.03620.72
5.6.90.0130.04120.82
5.6.80.0070.04720.47
5.6.70.0120.00617.55
5.6.60.0090.00917.57
5.6.50.0060.01017.54
5.6.40.0030.01017.45
5.6.30.0070.00317.49
5.6.20.0030.00617.76
5.6.10.0070.01017.43
5.6.00.0070.00317.48
5.5.380.0100.00717.68
5.5.370.0030.01317.72
5.5.360.0120.00817.66
5.5.350.0230.04020.58
5.5.340.0060.02417.72
5.5.330.0070.02720.53
5.5.320.0080.04820.20
5.5.310.0150.04420.23
5.5.300.0110.03317.83
5.5.290.0050.02817.88
5.5.280.0120.04020.74
5.5.270.0100.03920.84
5.5.260.0080.04520.75
5.5.250.0090.03920.66
5.5.240.0040.03020.42
5.5.230.0070.01017.62
5.5.220.0030.00717.31
5.5.210.0060.01217.52
5.5.200.0000.01117.75
5.5.190.0100.00317.74
5.5.180.0060.01217.80
5.5.170.0060.01017.85
5.5.160.0040.00717.88
5.5.150.0030.00717.71
5.5.140.0040.01117.87
5.5.130.0090.00317.99
5.5.120.0050.00517.31
5.5.110.0030.00617.46
5.5.100.0000.01717.42
5.5.90.0090.00617.79
5.5.80.0060.00817.58
5.5.70.0100.00317.76
5.5.60.0070.00317.54
5.5.50.0000.01117.22
5.5.40.0000.01817.65
5.5.30.0000.01217.54
5.5.20.0040.00717.28
5.5.10.0070.01017.55
5.5.00.0040.01117.77

preferences:
41.58 ms | 401 KiB | 5 Q