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 MM 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.0110.00820.13
8.3.50.0060.01523.80
8.3.40.0110.00421.35
8.3.30.0040.01221.23
8.3.20.0030.00622.57
8.3.10.0070.00425.76
8.3.00.0030.00622.32
8.2.180.0150.01521.56
8.2.170.0130.00622.96
8.2.160.0040.01821.75
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0060.00320.63
8.2.110.0130.00024.32
8.2.100.0120.00021.16
8.2.90.0050.00321.64
8.2.80.0060.00320.75
8.2.70.0060.00320.62
8.2.60.0030.00621.04
8.2.50.0040.00420.75
8.2.40.0060.00622.46
8.2.30.0000.00822.84
8.2.20.0000.01020.89
8.2.10.0030.00620.93
8.2.00.0040.00421.14
8.1.280.0030.01325.92
8.1.270.0060.00326.09
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0070.00323.08
8.1.230.0090.00320.79
8.1.220.0060.00320.66
8.1.210.0030.00620.48
8.1.200.0060.00320.23
8.1.190.0040.00420.35
8.1.180.0040.00420.53
8.1.170.0060.00322.02
8.1.160.0050.00324.32
8.1.150.0060.00621.33
8.1.140.0100.00520.72
8.1.130.0000.00820.81
8.1.120.0030.00520.79
8.1.110.0030.00620.70
8.1.100.0040.00420.90
8.1.90.0040.00420.84
8.1.80.0030.00620.69
8.1.70.0000.00720.58
8.1.60.0100.00320.90
8.1.50.0030.00620.69
8.1.40.0060.00620.89
8.1.30.0040.00421.15
8.1.20.0040.00421.09
8.1.10.0060.00320.86
8.1.00.0030.01020.58
8.0.300.0040.00421.90
8.0.290.0000.00820.13
8.0.280.0000.00720.82
8.0.270.0040.00420.13
8.0.260.0040.00420.38
8.0.250.0040.00420.40
8.0.240.0030.00620.26
8.0.230.0040.00420.26
8.0.220.0050.00320.14
8.0.210.0040.00420.20
8.0.200.0050.00520.25
8.0.190.0030.00720.23
8.0.180.0000.00820.34
8.0.170.0000.00820.30
8.0.160.0050.00320.07
8.0.150.0000.00820.00
8.0.140.0060.00620.18
8.0.130.0000.00613.58
8.0.120.0060.00320.17
8.0.110.0030.00520.27
8.0.100.0040.00420.45
8.0.90.0000.00820.41
8.0.80.0060.01620.41
8.0.70.0000.00820.44
8.0.60.0080.00020.22
8.0.50.0040.00420.22
8.0.30.0100.00920.37
8.0.20.0130.00720.33
8.0.10.0040.00420.44
8.0.00.0110.01020.13
7.4.330.0020.00215.16
7.4.320.0040.00420.01
7.4.300.0040.00419.90
7.4.290.0040.00419.91
7.4.280.0040.00419.90
7.4.270.0000.00720.08
7.4.260.0000.00820.09
7.4.250.0000.00820.04
7.4.240.0030.00520.01
7.4.230.0040.00420.15
7.4.220.0140.01420.11
7.4.210.0040.01220.09
7.4.200.0040.00419.90
7.4.160.0170.00019.85
7.4.150.0170.00720.03
7.4.140.0070.01519.92
7.4.130.0070.01219.99
7.4.120.0110.00919.84
7.4.110.0110.00819.94
7.4.100.0100.01719.85
7.4.90.0100.01020.03
7.4.80.0060.01919.79
7.4.70.0120.01219.94
7.4.60.0100.00720.11
7.4.50.0030.00320.05
7.4.40.0130.00919.82
7.4.30.0090.00919.75
7.4.10.0130.00617.99
7.4.00.0110.00718.26
7.3.330.0000.00613.35
7.3.320.0030.00313.22
7.3.310.0000.00719.35
7.3.300.0040.00419.57
7.3.290.0080.00019.57
7.3.280.0120.00819.53
7.3.270.0170.00319.75
7.3.260.0110.00719.47
7.3.250.0120.01019.73
7.3.240.0100.00919.40
7.3.230.0140.00419.73
7.3.210.0070.01119.98
7.3.200.0070.01019.90
7.3.190.0110.00719.61
7.3.180.0130.01019.92
7.3.170.0110.00719.69
7.3.160.0110.00719.35
7.3.130.0150.00417.92
7.3.120.0090.01218.11
7.3.110.0110.00817.92
7.3.100.0030.01117.78
7.3.90.0050.00717.84
7.3.80.0110.00517.89
7.3.70.0100.00518.09
7.3.60.0050.00817.88
7.3.50.0040.01217.93
7.3.40.0070.00818.10
7.3.30.0030.00918.02
7.3.20.0060.00819.60
7.3.10.0060.01019.75
7.3.00.0080.00919.66
7.2.330.0180.00919.96
7.2.320.0040.01719.81
7.2.310.0150.01219.91
7.2.300.0160.00919.53
7.2.290.0150.00520.05
7.2.260.0040.01518.21
7.2.250.0030.01518.03
7.2.240.0040.01718.28
7.2.230.0060.00918.20
7.2.220.0060.01318.21
7.2.210.0090.00418.26
7.2.200.0060.00918.20
7.2.190.0080.00618.24
7.2.180.0080.00818.36
7.2.170.0100.00918.12
7.2.160.0110.00718.11
7.2.150.0100.00620.05
7.2.140.0030.01320.01
7.2.130.0120.00320.06
7.2.120.0090.00920.09
7.2.110.0050.01119.96
7.2.100.0040.01120.13
7.2.90.0040.01720.28
7.2.80.0080.00919.90
7.2.70.0100.00820.01
7.2.60.0090.01020.05
7.2.50.0100.00920.00
7.2.40.0050.01019.82
7.2.30.0060.01220.04
7.2.20.0070.01019.84
7.2.10.0060.01419.95
7.2.00.0030.01220.11
7.1.330.0070.00919.11
7.1.320.0050.01019.06
7.1.310.0090.00719.29
7.1.300.0060.00719.08
7.1.290.0050.01119.03
7.1.280.0040.01019.05
7.1.270.0070.00919.16
7.1.260.0040.01119.15
7.1.250.0060.00819.13
7.1.240.0040.00919.18
7.1.230.0080.01119.02
7.1.220.0030.01619.05
7.1.210.0040.01519.08
7.1.200.0110.00519.21
7.1.190.0090.00919.05
7.1.180.0120.00319.20
7.1.170.0080.00919.17
7.1.160.0070.01119.25
7.1.150.0080.00419.15
7.1.140.0030.01319.05
7.1.130.0040.01919.30
7.1.120.0030.01418.99
7.1.110.0030.01319.31
7.1.100.0080.00820.28
7.1.90.0100.01019.20
7.1.80.0070.01019.16
7.1.70.0070.01020.08
7.1.60.0000.02120.01
7.1.50.0140.00919.68
7.1.40.0000.01719.32
7.1.30.0060.01318.82
7.1.20.0080.01119.27
7.1.10.0150.00419.34
7.1.00.0060.04522.41
7.0.330.0000.01618.99
7.0.320.0080.00818.67
7.0.310.0040.01118.89
7.0.300.0000.01418.74
7.0.290.0080.00818.89
7.0.280.0070.00718.86
7.0.270.0070.01018.95
7.0.260.0000.01818.73
7.0.250.0060.00318.68
7.0.240.0030.00918.91
7.0.230.0040.01218.78
7.0.220.0060.00918.74
7.0.210.0040.00719.19
7.0.200.0210.00818.46
7.0.190.0070.00718.98
7.0.180.0090.00618.99
7.0.170.0120.00618.75
7.0.160.0000.01518.70
7.0.150.0040.01419.00
7.0.140.0110.00018.79
7.0.130.0030.01318.97
7.0.120.0030.01018.91
7.0.110.0000.01218.79
7.0.100.0000.01018.86
7.0.90.0070.00718.79
7.0.80.0080.00818.72
7.0.70.0020.01018.66
7.0.60.0080.04320.85
7.0.50.0020.03518.37
7.0.40.0050.05119.71
7.0.30.0130.02319.98
7.0.20.0100.02419.82
7.0.10.0050.04919.90
7.0.00.0080.03020.17
5.6.400.0040.01117.79
5.6.390.0100.00317.73
5.6.380.0060.00917.48
5.6.370.0100.00717.94
5.6.360.0070.00717.69
5.6.350.0070.01117.55
5.6.340.0000.01217.56
5.6.330.0060.00917.36
5.6.320.0080.00717.89
5.6.310.0030.01317.51
5.6.300.0030.01217.68
5.6.290.0020.01017.88
5.6.280.0050.03321.04
5.6.270.0120.00317.91
5.6.260.0000.01717.82
5.6.250.0040.01517.54
5.6.240.0030.01017.78
5.6.230.0030.01017.83
5.6.220.0040.01217.34
5.6.210.0020.04120.79
5.6.200.0070.04817.84
5.6.190.0080.02520.52
5.6.180.0150.03520.55
5.6.170.0150.02520.35
5.6.160.0070.02720.48
5.6.150.0080.03717.95
5.6.140.0080.04017.81
5.6.130.0050.04417.94
5.6.120.0090.02420.86
5.6.110.0080.03020.99
5.6.100.0110.02620.91
5.6.90.0120.04220.84
5.6.80.0070.04920.60
5.6.70.0100.00017.69
5.6.60.0070.00717.66
5.6.50.0090.00917.57
5.6.40.0070.00517.53
5.6.30.0060.00917.46
5.6.20.0040.01217.64
5.6.10.0090.00617.62
5.6.00.0070.01117.57
5.5.380.0080.00317.64
5.5.370.0030.01317.80
5.5.360.0100.00717.74
5.5.350.0150.04820.46
5.5.340.0050.02317.79
5.5.330.0080.04020.33
5.5.320.0100.02220.13
5.5.310.0130.03520.38
5.5.300.0040.04917.85
5.5.290.0030.03217.71
5.5.280.0090.04620.77
5.5.270.0050.03120.74
5.5.260.0080.03820.55
5.5.250.0050.03220.74
5.5.240.0070.04120.35
5.5.230.0030.01417.39
5.5.220.0140.00417.51
5.5.210.0080.00417.76
5.5.200.0070.00717.34
5.5.190.0040.01317.27
5.5.180.0030.01317.67
5.5.170.0060.00917.64
5.5.160.0090.00917.63
5.5.150.0070.01017.83
5.5.140.0100.00717.60
5.5.130.0090.00617.58
5.5.120.0000.01617.27
5.5.110.0000.01317.42
5.5.100.0140.00317.49
5.5.90.0080.01017.06
5.5.80.0060.00617.63
5.5.70.0090.00617.27
5.5.60.0100.00717.70
5.5.50.0080.01217.27
5.5.40.0110.00717.77
5.5.30.0160.00317.33
5.5.20.0040.01617.64
5.5.10.0100.00717.84
5.5.00.0090.00917.55

preferences:
53 ms | 401 KiB | 5 Q