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::FULL, IntlDateFormatter::NONE])."\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.40.0100.01421.09
8.3.30.0090.00620.96
8.3.20.0080.00022.57
8.3.10.0060.00325.81
8.3.00.0060.00622.50
8.2.170.0090.01622.96
8.2.160.0090.00924.33
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0080.00320.88
8.2.110.0060.00624.38
8.2.100.0150.00321.05
8.2.90.0060.00321.61
8.2.80.0030.00620.88
8.2.70.0000.01020.63
8.2.60.0040.00420.93
8.2.50.0030.00620.75
8.2.40.0030.00622.39
8.2.30.0000.00822.75
8.2.20.0030.00620.91
8.2.10.0060.00321.11
8.2.00.0090.00021.01
8.1.270.0040.00426.09
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0040.00724.96
8.1.230.0100.00320.78
8.1.220.0080.00020.66
8.1.210.0000.00920.48
8.1.200.0000.01120.60
8.1.190.0000.00820.25
8.1.180.0060.00320.30
8.1.170.0030.00621.72
8.1.160.0000.00824.21
8.1.150.0040.00421.23
8.1.140.0040.00422.57
8.1.130.0040.00420.82
8.1.120.0060.00320.66
8.1.110.0000.00920.54
8.1.100.0040.00420.47
8.1.90.0060.00320.57
8.1.80.0060.00320.61
8.1.70.0000.00920.76
8.1.60.0070.00320.83
8.1.50.0000.00920.65
8.1.40.0060.00620.82
8.1.30.0030.00621.02
8.1.20.0040.00420.88
8.1.10.0030.00620.75
8.1.00.0030.00620.58
8.0.300.0030.00620.10
8.0.290.0060.00319.88
8.0.280.0050.00320.75
8.0.270.0040.00420.37
8.0.260.0050.00220.38
8.0.250.0040.00420.30
8.0.240.0040.00420.27
8.0.230.0080.00020.17
8.0.220.0080.00020.13
8.0.210.0000.00820.16
8.0.200.0030.00720.21
8.0.190.0060.00320.20
8.0.180.0060.00320.13
8.0.170.0030.00620.16
8.0.160.0080.00020.27
8.0.150.0000.00820.12
8.0.140.0000.00820.18
8.0.130.0050.00013.48
8.0.120.0040.00420.11
8.0.110.0000.00820.41
8.0.100.0040.00420.43
8.0.90.0000.00920.13
8.0.80.0110.00720.39
8.0.70.0060.00320.39
8.0.60.0000.00819.71
8.0.50.0000.00820.32
8.0.30.0150.00520.26
8.0.20.0130.00820.49
8.0.10.0030.00520.40
8.0.00.0110.00819.97
7.4.330.0000.00515.14
7.4.320.0020.00519.78
7.4.300.0040.00419.93
7.4.290.0080.00019.64
7.4.280.0000.00919.81
7.4.270.0020.00519.84
7.4.260.0040.00419.88
7.4.250.0050.00319.75
7.4.240.0030.00619.91
7.4.230.0080.00019.80
7.4.220.0130.00619.93
7.4.210.0040.01919.81
7.4.200.0000.00920.00
7.4.160.0070.01019.98
7.4.150.0070.01219.75
7.4.140.0120.01019.83
7.4.130.0070.01119.76
7.4.120.0100.00919.76
7.4.110.0120.00919.72
7.4.100.0140.00719.91
7.4.90.0090.00919.92
7.4.80.0080.01219.58
7.4.70.0210.00619.88
7.4.60.0040.01519.89
7.4.50.0030.00619.79
7.4.40.0090.00920.02
7.4.30.0090.01619.76
7.4.00.0100.00718.25
7.3.330.0030.00313.24
7.3.320.0030.00313.30
7.3.310.0090.00019.63
7.3.300.0040.00419.51
7.3.290.0090.01019.51
7.3.280.0140.00819.36
7.3.270.0170.01019.43
7.3.260.0140.00819.61
7.3.250.0120.00919.44
7.3.240.0150.01119.69
7.3.230.0100.01319.75
7.3.210.0060.01319.98
7.3.200.0120.00819.46
7.3.190.0210.02019.60
7.3.180.0110.00719.87
7.3.170.0100.01319.36
7.3.160.0030.01519.52
7.3.120.0090.00917.84
7.3.110.0060.01517.63
7.3.100.0090.00617.79
7.3.90.0030.00717.74
7.3.80.0030.00817.88
7.3.70.0100.01017.86
7.3.60.0030.01017.80
7.3.50.0070.01117.73
7.3.40.0060.00917.73
7.3.30.0000.01417.90
7.3.20.0030.01319.64
7.3.10.0090.00919.91
7.3.00.0090.00619.64
7.2.330.0080.01219.70
7.2.320.0190.00719.66
7.2.310.0120.01119.67
7.2.300.0140.01119.41
7.2.290.0090.00919.80
7.2.250.0060.01318.00
7.2.240.0070.00718.18
7.2.230.0090.00318.20
7.2.220.0090.00618.08
7.2.210.0120.00917.73
7.2.200.0110.00318.11
7.2.190.0040.01117.96
7.2.180.0120.00618.11
7.2.170.0060.01017.95
7.2.60.0040.01220.14
7.2.00.0030.01022.80
7.1.330.0130.00319.13
7.1.320.0040.00818.96
7.1.310.0070.01119.07
7.1.300.0070.00719.04
7.1.290.0060.01319.12
7.1.280.0060.01219.04
7.1.270.0000.01419.02
7.1.260.0030.01219.05
7.1.200.0030.01019.03
7.1.100.0070.00321.69
7.1.70.0090.00320.40
7.1.60.0040.02220.71
7.1.50.0100.01720.32
7.1.00.0000.08025.77
7.0.200.0040.00818.20
7.0.60.0170.07723.05
7.0.50.0170.06717.89
7.0.40.0070.06323.01
7.0.30.0100.04723.02
7.0.20.0300.09022.93
7.0.10.0030.09323.32
7.0.00.0070.07322.82
5.6.280.0030.04024.32
5.6.210.0070.08023.69
5.6.200.0070.07018.22
5.6.190.0070.09023.38
5.6.180.0370.04323.29
5.6.170.0200.07023.36
5.6.160.0100.08023.34
5.6.150.0070.03718.18
5.6.140.0070.05718.15
5.6.130.0000.04318.21
5.6.120.0130.08024.18
5.6.110.0130.07724.13
5.6.100.0070.04724.14
5.6.90.0100.06324.16
5.6.80.0030.04323.53
5.5.350.0170.03723.35
5.5.340.0070.08317.92
5.5.330.0070.08023.02
5.5.320.0230.07322.95
5.5.310.0330.07023.04
5.5.300.0070.06018.02
5.5.290.0200.06718.07
5.5.280.0070.09023.68
5.5.270.0130.06723.82
5.5.260.0000.05723.82
5.5.250.0030.04023.60
5.5.240.0030.07723.21
5.4.450.0400.06719.45
5.4.440.0600.05719.42
5.4.430.0470.05319.16
5.4.420.0500.05319.05
5.4.410.0200.06719.32
5.4.400.0130.05319.11
5.4.390.0100.06719.11
5.4.380.0400.06019.07
5.4.370.0630.06019.02
5.4.360.0600.07319.15
5.4.350.0130.07719.14
5.4.340.0270.06019.15
5.4.320.0270.04718.73
5.4.310.0300.04318.89
5.4.300.0330.06019.21
5.4.290.0170.05718.72
5.4.280.0200.05019.03
5.4.270.0230.06019.11
5.4.260.0470.05718.72
5.4.250.0530.06719.19
5.4.240.0170.06019.10
5.4.230.0230.05018.84
5.4.220.0570.04718.72
5.4.210.0270.07718.84
5.4.200.0330.06019.01
5.4.190.0200.04719.12
5.4.180.0130.07319.20
5.4.170.0230.05719.28
5.4.160.0130.06019.08
5.4.150.0200.06019.00
5.4.140.0230.05316.43
5.4.130.0530.05316.27
5.4.120.0470.04716.52
5.4.110.0100.06716.52
5.4.100.0170.05016.42
5.4.90.0100.05016.50
5.4.80.0270.04716.53
5.4.70.0100.05316.25
5.4.60.0100.05316.16
5.4.50.0070.05316.05
5.4.40.0130.05316.54
5.4.30.0100.05316.53
5.4.20.0170.04316.26
5.4.10.0130.05316.53
5.4.00.0170.04015.93

preferences:
45.69 ms | 400 KiB | 5 Q