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.0160.00620.00
8.3.50.0190.00321.80
8.3.40.0160.00321.28
8.3.30.0090.00621.18
8.3.20.0040.00422.52
8.3.10.0000.00925.73
8.3.00.0030.00622.38
8.2.180.0160.00321.91
8.2.170.0070.01122.96
8.2.160.0110.00421.51
8.2.150.0060.00324.18
8.2.140.0030.00624.66
8.2.130.0080.00026.16
8.2.120.0060.00320.63
8.2.110.0100.01024.58
8.2.100.0100.00621.03
8.2.90.0000.00821.42
8.2.80.0000.01020.88
8.2.70.0160.00020.75
8.2.60.0140.00520.80
8.2.50.0030.00620.63
8.2.40.0110.00822.34
8.2.30.0050.00322.94
8.2.20.0040.00420.83
8.2.10.0030.00621.14
8.2.00.0080.00021.26
8.1.280.0120.00425.92
8.1.270.0000.00926.09
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0000.01123.00
8.1.230.0100.00320.79
8.1.220.0060.00320.79
8.1.210.0040.00420.48
8.1.200.0050.00520.47
8.1.190.0070.00720.38
8.1.180.0090.00420.29
8.1.170.0050.00821.87
8.1.160.0000.00824.33
8.1.150.0050.00521.32
8.1.140.0060.00322.62
8.1.130.0040.00420.96
8.1.120.0040.00420.81
8.1.110.0050.00320.78
8.1.100.0040.00420.73
8.1.90.0030.00620.82
8.1.80.0000.01120.74
8.1.70.0040.00420.71
8.1.60.0080.00420.82
8.1.50.0070.00320.77
8.1.40.0040.00920.76
8.1.30.0040.00420.75
8.1.20.0060.00321.01
8.1.10.0060.00320.81
8.1.00.0000.01120.77
8.0.300.0040.00421.79
8.0.290.0100.00519.75
8.0.280.0070.00020.73
8.0.270.0030.00520.48
8.0.260.0040.00420.48
8.0.250.0030.00620.53
8.0.240.0060.00320.51
8.0.230.0030.00520.34
8.0.220.0030.00520.25
8.0.210.0000.00820.18
8.0.200.0080.00020.42
8.0.190.0000.00920.19
8.0.180.0030.00620.13
8.0.170.0030.00620.30
8.0.160.0030.00520.17
8.0.150.0040.00420.05
8.0.140.0030.00920.14
8.0.130.0000.00613.54
8.0.120.0030.00620.17
8.0.110.0030.00620.11
8.0.100.0040.00419.89
8.0.90.0000.00820.42
8.0.80.0090.01220.09
8.0.70.0040.00420.08
8.0.60.0080.00020.18
8.0.50.0060.00320.02
8.0.30.0130.00920.46
8.0.20.0160.00720.51
8.0.10.0030.00620.52
8.0.00.0100.00920.08
7.4.330.0050.00015.08
7.4.320.0000.00720.00
7.4.300.0040.00419.78
7.4.290.0040.00419.98
7.4.280.0040.00419.90
7.4.270.0000.00820.05
7.4.260.0080.00319.64
7.4.250.0000.00919.92
7.4.240.0060.00319.99
7.4.230.0040.00419.70
7.4.220.0080.01520.16
7.4.210.0100.01019.96
7.4.200.0030.00520.20
7.4.160.0140.00619.92
7.4.150.0140.01119.88
7.4.140.0140.00919.92
7.4.130.0110.01119.88
7.4.120.0140.00519.91
7.4.110.0090.00920.02
7.4.100.0140.01019.83
7.4.90.0060.01619.84
7.4.80.0180.00319.85
7.4.70.0110.00719.97
7.4.60.0060.01419.83
7.4.50.0000.01019.73
7.4.40.0160.00619.86
7.4.30.0120.01220.04
7.4.10.0110.01519.94
7.4.00.0130.00918.99
7.3.330.0050.00013.18
7.3.320.0060.00013.32
7.3.310.0050.00319.47
7.3.300.0040.00419.28
7.3.290.0000.00819.32
7.3.280.0050.01319.57
7.3.270.0000.01819.60
7.3.260.0090.00920.04
7.3.250.0150.00519.68
7.3.240.0120.00619.88
7.3.230.0030.01519.60
7.3.210.0160.01019.29
7.3.200.0190.00919.90
7.3.190.0120.00619.42
7.3.180.0070.01719.64
7.3.170.0080.01319.68
7.3.160.0090.01019.84
7.3.130.0140.00819.84
7.3.120.0170.00919.58
7.3.110.0070.01019.52
7.3.100.0070.01319.84
7.3.90.0060.01319.67
7.3.80.0090.00619.36
7.3.70.0030.01419.64
7.3.60.0070.01119.68
7.3.50.0030.00819.73
7.3.40.0060.00919.49
7.3.30.0120.00419.55
7.3.20.0040.01521.41
7.3.10.0040.00821.45
7.3.00.0090.00921.51
7.2.330.0170.00620.03
7.2.320.0100.01319.67
7.2.310.0030.01820.07
7.2.300.0130.01019.66
7.2.290.0100.01019.89
7.2.260.0080.01620.03
7.2.250.0150.01119.76
7.2.240.0040.00819.63
7.2.230.0100.00719.51
7.2.220.0090.00619.45
7.2.210.0060.00919.59
7.2.200.0100.00719.62
7.2.190.0060.00619.76
7.2.180.0040.01119.69
7.2.170.0000.01719.79
7.2.160.0140.00019.69
7.2.150.0080.00821.86
7.2.140.0060.01021.59
7.2.130.0080.00421.77
7.2.120.0040.01221.58
7.2.110.0150.00921.51
7.2.100.0120.00621.78
7.2.90.0030.01521.60
7.2.80.0070.01021.66
7.2.70.0060.01221.43
7.2.60.0050.01220.85
7.2.50.0030.01721.36
7.2.40.0030.01321.76
7.2.30.0060.01021.87
7.2.20.0030.01521.69
7.2.10.0070.01121.44
7.2.00.0190.01122.32
7.1.330.0060.01020.80
7.1.320.0070.01020.59
7.1.310.0030.01020.61
7.1.300.0030.00920.49
7.1.290.0120.00420.59
7.1.280.0120.00420.41
7.1.270.0030.01220.58
7.1.260.0000.01620.55
7.1.250.0090.00920.77
7.1.240.0070.00720.82
7.1.230.0070.01120.66
7.1.220.0090.00620.39
7.1.210.0030.01220.70
7.1.200.0060.00719.89
7.1.190.0070.00320.51
7.1.180.0130.00720.67
7.1.170.0090.00920.44
7.1.160.0090.00920.77
7.1.150.0060.01020.63
7.1.140.0040.01520.88
7.1.130.0040.01120.64
7.1.120.0060.00620.70
7.1.110.0030.01620.54
7.1.100.0050.00921.18
7.1.90.0060.01020.66
7.1.80.0030.01320.89
7.1.70.0100.00820.48
7.1.60.0100.00920.76
7.1.50.0090.00920.73
7.1.40.0060.00920.42
7.1.30.0050.00920.40
7.1.20.0150.00320.71
7.1.10.0070.00720.57
7.1.00.0050.04523.26
7.0.330.0090.00920.05
7.0.320.0090.00620.20
7.0.310.0040.00720.38
7.0.300.0030.01320.38
7.0.290.0030.00620.31
7.0.280.0080.00320.44
7.0.270.0080.00320.04
7.0.260.0090.00920.34
7.0.250.0070.01020.11
7.0.240.0030.01020.48
7.0.230.0060.00920.00
7.0.220.0090.00620.46
7.0.210.0030.01320.25
7.0.200.0210.00619.26
7.0.190.0030.01020.16
7.0.180.0040.00820.38
7.0.170.0030.01420.27
7.0.160.0040.01020.41
7.0.150.0070.00720.50
7.0.140.0040.01120.32
7.0.130.0040.01420.45
7.0.120.0110.00420.24
7.0.110.0080.01120.25
7.0.100.0090.00720.12
7.0.90.0100.00320.27
7.0.80.0040.01420.30
7.0.70.0000.01520.42
7.0.60.0080.04321.82
7.0.50.0100.02218.94
7.0.40.0050.03820.58
7.0.30.0130.02620.55
7.0.20.0120.02720.62
7.0.10.0080.03320.60
7.0.00.0030.03720.62
5.6.400.0100.00619.16
5.6.390.0040.01118.84
5.6.380.0000.01819.28
5.6.370.0060.00318.77
5.6.360.0070.01119.34
5.6.350.0040.00718.71
5.6.340.0080.00419.44
5.6.330.0030.00719.19
5.6.320.0000.01919.27
5.6.310.0100.00319.23
5.6.300.0090.00619.28
5.6.290.0030.01619.26
5.6.280.0070.04221.59
5.6.270.0060.01219.19
5.6.260.0030.01019.20
5.6.250.0110.01118.97
5.6.240.0060.00919.24
5.6.230.0070.01018.98
5.6.220.0070.00719.33
5.6.210.0100.03821.55
5.6.200.0090.04418.58
5.6.190.0030.03021.13
5.6.180.0130.05021.37
5.6.170.0230.04021.15
5.6.160.0080.02321.38
5.6.150.0030.04518.51
5.6.140.0080.03118.71
5.6.130.0150.04118.52
5.6.120.0030.02621.70
5.6.110.0080.03221.59
5.6.100.0070.03521.54
5.6.90.0070.04021.52
5.6.80.0040.04321.31
5.6.70.0040.00818.96
5.6.60.0070.01019.20
5.6.50.0070.01019.13
5.6.40.0040.01619.11
5.6.30.0080.01118.93
5.6.20.0110.00818.92
5.6.10.0000.01319.10
5.6.00.0040.01119.00
5.5.380.0070.00719.04
5.5.370.0100.00319.28
5.5.360.0100.00719.13
5.5.350.0240.03521.38
5.5.340.0030.02518.38
5.5.330.0120.02720.97
5.5.320.0100.04820.95
5.5.310.0120.04221.11
5.5.300.0120.02018.61
5.5.290.0100.02518.39
5.5.280.0070.04221.45
5.5.270.0090.04321.46
5.5.260.0110.04621.47
5.5.250.0070.03021.10
5.5.240.0050.02421.03
5.5.230.0080.00419.02
5.5.220.0040.00718.96
5.5.210.0070.01018.82
5.5.200.0070.01418.91
5.5.190.0070.01418.79
5.5.180.0060.01218.95
5.5.170.0090.00618.85
5.5.160.0140.00318.81
5.5.150.0040.01219.16
5.5.140.0090.00619.18
5.5.130.0110.00419.42
5.5.120.0050.00819.10
5.5.110.0060.00919.24
5.5.100.0090.00618.71
5.5.90.0060.00818.74
5.5.80.0130.00318.92
5.5.70.0190.00018.83
5.5.60.0060.00818.68
5.5.50.0120.00918.60
5.5.40.0000.01919.07
5.5.30.0060.01018.77
5.5.20.0090.00619.25
5.5.10.0140.00418.91
5.5.00.0070.00718.82

preferences:
52.28 ms | 401 KiB | 5 Q