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-5 12:00:00', $tzSydney); $dateB = new DateTime('2014-10-5 03:00:00', $tzAmsterdam); $formatterSydney = new IntlDateFormatter('en_UK', IntlDateFormatter::LONG, IntlDateFormatter::NONE, $tzSydney, IntlDateFormatter::GREGORIAN, 'd 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.60.0190.00020.25
8.3.50.0130.01021.67
8.3.40.0080.00821.01
8.3.30.0130.00321.24
8.3.20.0080.00022.59
8.3.10.0110.00025.93
8.3.00.0000.00922.51
8.2.180.0130.01021.69
8.2.170.0070.00722.96
8.2.160.0140.00422.77
8.2.150.0000.00824.18
8.2.140.0050.00324.66
8.2.130.0060.00326.16
8.2.120.0060.00320.75
8.2.110.0090.00324.63
8.2.100.0090.00320.93
8.2.90.0060.00321.55
8.2.80.0040.01620.60
8.2.70.0030.00620.75
8.2.60.0090.00021.05
8.2.50.0030.00620.88
8.2.40.0000.01222.45
8.2.30.0080.00022.90
8.2.20.0000.00820.86
8.2.10.0000.00821.12
8.2.00.0070.00321.26
8.1.280.0120.00625.92
8.1.270.0060.00326.29
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0030.00724.94
8.1.230.0000.01220.79
8.1.220.0040.00420.79
8.1.210.0080.00020.48
8.1.200.0050.00520.60
8.1.190.0000.00920.47
8.1.180.0080.00020.54
8.1.170.0080.00022.07
8.1.160.0000.00824.31
8.1.150.0030.00721.24
8.1.140.0030.00622.80
8.1.130.0040.00420.78
8.1.120.0000.00920.85
8.1.110.0050.00320.82
8.1.100.0080.00020.88
8.1.90.0050.00320.89
8.1.80.0000.01020.78
8.1.70.0000.00820.66
8.1.60.0000.01120.98
8.1.50.0090.00020.66
8.1.40.0100.00320.72
8.1.30.0040.00421.04
8.1.20.0030.00621.13
8.1.10.0000.00820.72
8.1.00.0070.00420.75
8.0.300.0040.00422.09
8.0.290.0060.00320.13
8.0.280.0040.00420.85
8.0.270.0000.00820.43
8.0.260.0000.00720.50
8.0.250.0000.00920.50
8.0.240.0060.00320.32
8.0.230.0050.00320.29
8.0.220.0000.00920.33
8.0.210.0040.00420.29
8.0.200.0000.00820.26
8.0.190.0060.00320.25
8.0.180.0000.00820.18
8.0.170.0060.00320.21
8.0.160.0030.00620.28
8.0.150.0060.00320.04
8.0.140.0030.00620.14
8.0.130.0030.00313.56
8.0.120.0090.00020.24
8.0.110.0080.00020.37
8.0.100.0040.00420.34
8.0.90.0030.00619.99
8.0.80.0060.01620.39
8.0.70.0040.00420.30
8.0.60.0050.00320.22
8.0.50.0090.00020.37
8.0.30.0090.01320.46
8.0.20.0120.00820.57
8.0.10.0040.00420.39
8.0.00.0090.01320.09
7.4.330.0050.00015.15
7.4.320.0030.00320.11
7.4.300.0040.00420.07
7.4.290.0000.00820.14
7.4.280.0060.00319.86
7.4.270.0050.00220.13
7.4.260.0050.00519.62
7.4.250.0050.00320.03
7.4.240.0070.00220.12
7.4.230.0040.00420.21
7.4.220.0100.02020.23
7.4.210.0070.01119.95
7.4.200.0000.00820.18
7.4.160.0070.01019.93
7.4.150.0190.00419.71
7.4.140.0070.01419.98
7.4.130.0140.01419.91
7.4.120.0080.01119.88
7.4.110.0040.01519.95
7.4.100.0090.01319.96
7.4.90.0070.01120.13
7.4.80.0080.01119.83
7.4.70.0040.01420.02
7.4.60.0110.00819.88
7.4.50.0000.00819.86
7.4.40.0160.00620.08
7.4.30.0080.01119.95
7.4.10.0040.01818.05
7.4.00.0070.01118.48
7.3.330.0030.00313.34
7.3.320.0030.00313.27
7.3.310.0000.00819.52
7.3.300.0040.00419.54
7.3.290.0000.00719.65
7.3.280.0070.01419.54
7.3.270.0110.00819.50
7.3.260.0130.00619.55
7.3.240.0080.01219.73
7.3.230.0110.01419.70
7.3.210.0000.02119.87
7.3.200.0150.00319.75
7.3.190.0090.01519.84
7.3.180.0110.01219.59
7.3.170.0060.01319.87
7.3.160.0110.00819.42
7.3.130.0110.01118.02
7.3.120.0110.01117.90
7.3.110.0050.01817.93
7.3.100.0040.01118.02
7.3.90.0080.00417.80
7.3.80.0080.00417.82
7.3.70.0110.00717.79
7.3.60.0060.00617.95
7.3.50.0000.01017.81
7.3.40.0000.01117.95
7.3.30.0030.00618.04
7.3.20.0070.00319.55
7.3.10.0070.00319.80
7.3.00.0030.01019.64
7.2.330.0120.00919.96
7.2.320.0160.00319.92
7.2.310.0000.01819.68
7.2.300.0130.01320.03
7.2.290.0070.01719.96
7.2.260.0140.01018.43
7.2.250.0090.01318.36
7.2.240.0060.00918.16
7.2.230.0100.00717.96
7.2.220.0000.01918.11
7.2.210.0040.00818.19
7.2.200.0100.00618.20
7.2.190.0060.00618.28
7.2.180.0100.00618.32
7.2.170.0060.00618.23
7.2.160.0100.00318.33
7.2.150.0080.00819.87
7.2.140.0030.01320.32
7.2.130.0040.01120.25
7.2.120.0030.01420.16
7.2.110.0080.00420.35
7.2.100.0030.00720.05
7.2.90.0030.00720.06
7.2.80.0120.00320.27
7.2.70.0060.00620.17
7.2.60.0030.01320.21
7.2.50.0070.01020.26
7.2.40.0070.00420.11
7.2.30.0060.01220.07
7.2.20.0060.00620.21
7.2.10.0060.01019.98
7.2.00.0180.00821.23
7.1.330.0040.01119.14
7.1.320.0030.01219.00
7.1.310.0070.01019.13
7.1.300.0120.00419.32
7.1.290.0030.00918.96
7.1.280.0000.01319.15
7.1.270.0000.01419.18
7.1.260.0160.00019.14
7.1.250.0030.01318.75
7.1.240.0090.00618.99
7.1.230.0040.01119.21
7.1.220.0000.01118.94
7.1.210.0040.00719.25
7.1.200.0080.00519.10
7.1.190.0120.00319.30
7.1.180.0070.00718.90
7.1.170.0070.01019.19
7.1.160.0030.00619.30
7.1.150.0070.00719.33
7.1.140.0060.00619.25
7.1.130.0090.00619.29
7.1.120.0000.01619.03
7.1.110.0030.01019.33
7.1.100.0070.00720.38
7.1.90.0070.00719.25
7.1.80.0060.00919.30
7.1.70.0130.00819.50
7.1.60.0080.01220.03
7.1.50.0070.01019.97
7.1.40.0100.00719.04
7.1.30.0060.00919.43
7.1.20.0030.01219.10
7.1.10.0040.01218.86
7.1.00.0050.04122.46
7.0.330.0040.01018.77
7.0.320.0000.01518.89
7.0.310.0030.00618.98
7.0.300.0070.00318.77
7.0.290.0060.00618.80
7.0.280.0050.00518.84
7.0.270.0060.00619.04
7.0.260.0040.01118.89
7.0.250.0030.01018.68
7.0.240.0030.01118.89
7.0.230.0030.01018.76
7.0.220.0070.00718.77
7.0.210.0090.00618.91
7.0.200.0110.00818.38
7.0.190.0090.00318.73
7.0.180.0030.01218.72
7.0.170.0090.00619.16
7.0.160.0090.00618.77
7.0.150.0030.01318.95
7.0.140.0000.01618.68
7.0.130.0060.01019.01
7.0.120.0070.00719.11
7.0.110.0000.01518.90
7.0.100.0060.00618.64
7.0.90.0120.00018.78
7.0.80.0100.00318.82
7.0.70.0040.01118.64
7.0.60.0080.04321.00
7.0.50.0080.02818.39
7.0.40.0080.05320.03
7.0.30.0080.02719.74
7.0.20.0120.02219.87
7.0.10.0080.03719.88
7.0.00.0060.04819.80
5.6.400.0030.00617.71
5.6.390.0030.01217.47
5.6.380.0030.01217.52
5.6.370.0060.00917.97
5.6.360.0000.01017.61
5.6.350.0090.00317.91
5.6.340.0000.01817.79
5.6.330.0080.00817.47
5.6.320.0040.00817.65
5.6.310.0070.00717.70
5.6.300.0100.01017.71
5.6.290.0110.00318.03
5.6.280.0030.04020.93
5.6.270.0000.01417.43
5.6.260.0140.00417.75
5.6.250.0090.00617.82
5.6.240.0060.01017.72
5.6.230.0100.00317.66
5.6.220.0000.01417.69
5.6.210.0120.04220.75
5.6.200.0050.04617.86
5.6.190.0060.02720.37
5.6.180.0190.04220.59
5.6.170.0170.04320.63
5.6.160.0030.02720.49
5.6.150.0030.04517.90
5.6.140.0010.03617.95
5.6.130.0070.03817.91
5.6.120.0050.02820.89
5.6.110.0100.02420.75
5.6.100.0080.02621.04
5.6.90.0070.03120.91
5.6.80.0050.04520.60
5.6.70.0110.00717.34
5.6.60.0000.01317.39
5.6.50.0000.01117.64
5.6.40.0030.01017.35
5.6.30.0030.00717.73
5.6.20.0070.00717.71
5.6.10.0070.00717.46
5.6.00.0040.01117.64
5.5.380.0060.00917.84
5.5.370.0070.00417.39
5.5.360.0060.00317.78
5.5.350.0150.03320.69
5.5.340.0080.02517.94
5.5.330.0050.03220.47
5.5.320.0080.02820.49
5.5.310.0140.02720.17
5.5.300.0080.03317.87
5.5.290.0050.02517.96
5.5.280.0030.05120.77
5.5.270.0120.04020.61
5.5.260.0070.04520.93
5.5.250.0050.04820.64
5.5.240.0050.02420.27
5.5.230.0000.01117.89
5.5.220.0000.00917.77
5.5.210.0030.01017.61
5.5.200.0070.00717.27
5.5.190.0030.01217.85
5.5.180.0030.01317.25
5.5.170.0030.01017.48
5.5.160.0000.01417.37
5.5.150.0040.00817.67
5.5.140.0060.00917.70
5.5.130.0000.00917.77
5.5.120.0050.00517.31
5.5.110.0030.01217.61
5.5.100.0110.00417.39
5.5.90.0000.01217.86
5.5.80.0000.01117.70
5.5.70.0080.00417.58
5.5.60.0060.00317.20
5.5.50.0060.00617.61
5.5.40.0060.01016.97
5.5.30.0060.00617.18
5.5.20.0060.01017.89
5.5.10.0090.00917.78
5.5.00.0070.01117.39

preferences:
67.67 ms | 400 KiB | 5 Q