3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = new DateTime(); echo IntlDateFormatter::formatObject($time)."\n"; echo IntlDateFormatter::formatObject($time, [IntlDateFormatter::NONE, IntlDateFormatter::MEDIUM])."\n"; echo IntlDateFormatter::formatObject($time, [IntlDateFormatter::NONE, IntlDateFormatter::GREGORIAN, 'MM/dd/yyyy'])."\n";

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.0210.00319.88
8.3.50.0170.00723.61
8.3.40.0100.00621.22
8.3.30.0120.00321.08
8.3.20.0040.00422.54
8.3.10.0080.00025.75
8.3.00.0060.00322.51
8.2.180.0100.01019.88
8.2.170.0110.01422.96
8.2.160.0120.00324.39
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0050.00520.88
8.2.110.0000.01124.00
8.2.100.0000.01320.85
8.2.90.0040.00720.63
8.2.80.0090.00622.61
8.2.70.0060.00320.93
8.2.60.0030.00621.04
8.2.50.0090.00520.50
8.2.40.0130.00022.61
8.2.30.0040.00422.75
8.2.20.0030.00620.86
8.2.10.0050.00321.12
8.2.00.0060.00321.02
8.1.280.0030.01325.92
8.1.270.0040.00426.09
8.1.260.0040.00426.35
8.1.250.0090.00028.09
8.1.240.0090.00024.33
8.1.230.0110.00421.89
8.1.220.0040.00420.79
8.1.210.0040.00420.48
8.1.200.0130.00320.48
8.1.190.0160.00020.23
8.1.180.0030.00620.48
8.1.170.0090.00421.54
8.1.160.0040.00424.23
8.1.150.0050.00321.11
8.1.140.0060.00322.60
8.1.130.0000.00720.87
8.1.120.0000.00820.68
8.1.110.0060.00320.55
8.1.100.0030.00620.75
8.1.90.0050.00320.61
8.1.80.0030.00620.61
8.1.70.0030.00520.69
8.1.60.0090.00020.79
8.1.50.0030.00720.54
8.1.40.0040.00820.81
8.1.30.0060.00320.99
8.1.20.0000.00820.64
8.1.10.0040.00420.75
8.1.00.0000.00820.75
8.0.300.0050.00322.02
8.0.290.0000.01319.63
8.0.280.0080.00020.65
8.0.270.0050.00320.37
8.0.260.0060.00320.35
8.0.250.0080.00020.30
8.0.240.0050.00320.35
8.0.230.0000.00820.23
8.0.220.0000.00820.14
8.0.210.0040.00420.20
8.0.200.0000.00720.25
8.0.190.0090.00020.15
8.0.180.0080.00020.18
8.0.170.0030.00620.24
8.0.160.0080.00019.98
8.0.150.0060.00319.97
8.0.140.0040.00420.10
8.0.130.0030.00313.39
8.0.120.0060.00320.07
8.0.110.0000.00820.23
8.0.100.0000.00820.18
8.0.90.0050.00319.90
8.0.80.0120.00820.30
8.0.70.0040.00419.79
8.0.60.0030.00520.07
8.0.50.0040.00420.23
8.0.30.0110.01020.30
8.0.20.0140.01020.20
8.0.10.0090.00020.32
8.0.00.0130.00819.99
7.4.330.0050.00015.08
7.4.320.0000.00819.77
7.4.300.0070.00019.93
7.4.290.0080.00019.92
7.4.280.0030.00619.96
7.4.270.0040.00419.50
7.4.260.0060.00319.92
7.4.250.0000.00819.89
7.4.240.0060.00219.89
7.4.230.0050.00219.99
7.4.220.0100.01019.81
7.4.210.0090.00919.71
7.4.200.0030.00519.85
7.4.160.0110.00619.74
7.4.150.0160.00920.06
7.4.140.0120.01319.96
7.4.130.0030.02319.94
7.4.120.0060.01219.77
7.4.110.0100.01420.04
7.4.100.0030.01719.89
7.4.90.0090.00920.01
7.4.80.0100.01319.83
7.4.70.0090.01419.76
7.4.60.0040.01419.80
7.4.50.0000.00919.77
7.4.40.0040.01419.94
7.4.30.0180.00619.66
7.4.00.0030.01018.45
7.3.330.0000.00513.15
7.3.320.0050.00013.19
7.3.310.0000.00819.49
7.3.300.0040.00419.56
7.3.290.0070.00819.42
7.3.280.0080.00919.24
7.3.270.0070.01319.70
7.3.260.0030.01619.49
7.3.240.0120.01119.67
7.3.230.0080.01119.43
7.3.210.0170.00719.35
7.3.200.0140.00419.39
7.3.190.0130.00619.53
7.3.180.0060.01319.46
7.3.170.0130.00919.79
7.3.160.0070.01019.55
7.2.330.0100.01019.60
7.2.320.0030.01719.60
7.2.310.0160.00319.87
7.2.300.0060.01319.80
7.2.290.0040.01319.47
7.2.60.0030.01020.16
7.2.00.0120.00323.00
7.1.200.0030.01318.75
7.1.100.0090.00621.77
7.1.70.0040.00720.70
7.1.60.0100.01620.55
7.1.50.0070.01720.66
7.1.00.0030.07725.83
7.0.200.0140.00318.16
7.0.60.0100.05322.92
7.0.50.0170.07017.88
7.0.40.0100.08322.89
7.0.30.0200.04022.84
7.0.20.0230.08722.86
7.0.10.0070.08022.86
7.0.00.0030.04323.21
5.6.280.0000.03724.32
5.6.210.0130.07723.53
5.6.200.0000.09318.23
5.6.190.0030.04723.52
5.6.180.0300.04723.38
5.6.170.0170.04723.28
5.6.160.0130.08023.49
5.6.150.0000.04718.15
5.6.140.0030.07018.18
5.6.130.0100.04318.20
5.6.120.0130.08324.21
5.6.110.0100.08024.22
5.6.100.0100.03724.23
5.6.90.0070.08323.94
5.6.80.0030.04323.28
5.5.350.0230.04323.41
5.5.340.0030.05018.02
5.5.330.0070.08023.09
5.5.320.0300.07323.22
5.5.310.0430.06323.09
5.5.300.0030.06317.94
5.5.290.0100.04317.96
5.5.280.0070.08323.89
5.5.270.0100.08023.84
5.5.260.0000.04323.68
5.5.250.0230.02723.64
5.5.240.0030.07723.31
5.4.450.0200.06019.48
5.4.440.0130.06319.44
5.4.430.0130.06319.16
5.4.420.0130.05319.58
5.4.410.0230.05019.44
5.4.400.0170.05019.10
5.4.390.0170.05019.01
5.4.380.0130.05719.09
5.4.370.0170.05718.94
5.4.360.0270.04019.12
5.4.350.0400.03719.10
5.4.340.0000.06719.11
5.4.320.0430.07018.94
5.4.310.0600.04719.12
5.4.300.0200.05019.02
5.4.290.0170.05718.73
5.4.280.0070.06719.27
5.4.270.0270.06319.09
5.4.260.0170.05718.71
5.4.250.0230.05718.97
5.4.240.0670.06318.72
5.4.230.0670.07319.10
5.4.220.0600.05319.21
5.4.210.0470.05719.10
5.4.200.0630.04719.14
5.4.190.0200.05018.84
5.4.180.0130.06019.23
5.4.170.0170.06718.71
5.4.160.0230.05719.22
5.4.150.0170.05718.88
5.4.140.0130.05316.50
5.4.130.0070.05716.50
5.4.120.0070.06016.49
5.4.110.0770.06316.59
5.4.100.0770.06016.51
5.4.90.0100.05316.59
5.4.80.0100.07316.55
5.4.70.0570.06016.57
5.4.60.0130.06016.50
5.4.50.0070.05716.42
5.4.40.0100.06316.51
5.4.30.0100.05316.46
5.4.20.0270.05016.19
5.4.10.0300.05016.46
5.4.00.0130.04715.74

preferences:
67.72 ms | 401 KiB | 5 Q