3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = new DateTime(); Locale::setDefault('en_GB'); echo IntlDateFormatter::formatObject($time)."\n"; echo IntlDateFormatter::formatObject($time, [IntlDateFormatter::NONE, IntlDateFormatter::MEDIUM])."\n"; echo IntlDateFormatter::formatObject($time, [IntlDateFormatter::MEDIUM, 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.0070.01521.23
8.3.30.0070.01021.01
8.3.20.0030.00622.67
8.3.10.0040.00425.86
8.3.00.0080.00022.51
8.2.170.0070.01522.96
8.2.160.0110.00424.33
8.2.150.0040.00425.66
8.2.140.0030.00624.66
8.2.130.0000.00826.16
8.2.120.0070.00420.75
8.2.110.0060.00322.90
8.2.100.0110.00721.16
8.2.90.0060.00321.59
8.2.80.0060.00320.75
8.2.70.0040.00420.84
8.2.60.0040.00421.03
8.2.50.0060.00320.63
8.2.40.0000.00822.59
8.2.30.0000.00822.98
8.2.20.0060.00320.88
8.2.10.0000.00821.02
8.2.00.0090.00021.07
8.1.270.0080.00026.04
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0070.00326.36
8.1.230.0070.00720.89
8.1.220.0030.00620.79
8.1.210.0060.00320.60
8.1.200.0070.00420.48
8.1.190.0040.00420.47
8.1.180.0030.00620.50
8.1.170.0030.00621.92
8.1.160.0050.00524.38
8.1.150.0030.00622.99
8.1.140.0080.00022.68
8.1.130.0080.00020.72
8.1.120.0030.00620.65
8.1.110.0050.00320.58
8.1.100.0000.00820.68
8.1.90.0040.00420.75
8.1.80.0000.00920.69
8.1.70.0000.00720.70
8.1.60.0070.00320.68
8.1.50.0000.01020.63
8.1.40.0030.01020.80
8.1.30.0040.00420.98
8.1.20.0080.00020.89
8.1.10.0040.00420.75
8.1.00.0000.00820.75
8.0.300.0100.00020.10
8.0.290.0030.00620.00
8.0.280.0080.00020.83
8.0.270.0000.00820.36
8.0.260.0050.00520.39
8.0.250.0030.00720.19
8.0.240.0050.00520.27
8.0.230.0050.00320.20
8.0.220.0040.00420.21
8.0.210.0060.00320.16
8.0.200.0040.00420.20
8.0.190.0030.00620.07
8.0.180.0030.00520.19
8.0.170.0060.00320.05
8.0.160.0040.00420.15
8.0.150.0050.00319.96
8.0.140.0040.00419.96
8.0.130.0030.00313.43
8.0.120.0030.00620.19
8.0.110.0080.00020.23
8.0.100.0030.00520.21
8.0.90.0060.00320.18
8.0.80.0070.01120.30
8.0.70.0040.00420.41
8.0.60.0030.00519.87
8.0.50.0000.00920.14
8.0.30.0150.00520.50
8.0.20.0140.00720.34
8.0.10.0000.00920.21
8.0.00.0130.00819.95
7.4.330.0030.00315.15
7.4.320.0040.00419.83
7.4.300.0000.00819.93
7.4.290.0030.00619.91
7.4.280.0050.00519.75
7.4.270.0040.00419.58
7.4.260.0060.00319.82
7.4.250.0040.00419.81
7.4.240.0010.00719.81
7.4.230.0000.00819.90
7.4.220.0060.01320.00
7.4.210.0120.00419.86
7.4.200.0080.00019.96
7.4.160.0150.00319.73
7.4.150.0040.01519.80
7.4.140.0090.01319.84
7.4.130.0100.00819.76
7.4.120.0080.01119.82
7.4.110.0170.00319.98
7.4.100.0070.01419.84
7.4.90.0060.01319.70
7.4.80.0040.01519.90
7.4.70.0110.01119.80
7.4.60.0110.01119.95
7.4.50.0030.00619.58
7.4.40.0140.01019.61
7.4.30.0040.01419.84
7.4.00.0080.00717.99
7.3.330.0000.00613.29
7.3.320.0050.00013.27
7.3.310.0040.00419.54
7.3.300.0050.00319.27
7.3.290.0080.01019.29
7.3.280.0110.01019.47
7.3.270.0120.00619.80
7.3.260.0100.01019.40
7.3.250.0110.00919.75
7.3.240.0150.01019.46
7.3.230.0130.01019.51
7.3.210.0030.01619.50
7.3.200.0150.00319.53
7.3.190.0100.01319.34
7.3.180.0150.00319.77
7.3.170.0090.01319.60
7.3.160.0060.01219.36
7.3.120.0100.01018.04
7.3.110.0040.01417.84
7.3.100.0060.00917.96
7.3.90.0070.01017.66
7.3.80.0070.00717.87
7.3.70.0110.00717.81
7.3.60.0070.00717.98
7.3.50.0040.01117.81
7.3.40.0100.01017.40
7.3.30.0100.01017.48
7.3.20.0030.00919.79
7.3.10.0060.00919.86
7.3.00.0070.00719.87
7.2.330.0080.01119.63
7.2.320.0150.00819.44
7.2.310.0110.00819.86
7.2.300.0180.00719.91
7.2.290.0140.00319.62
7.2.250.0180.00418.01
7.2.240.0090.00918.47
7.2.230.0100.00718.34
7.2.220.0070.01018.46
7.2.210.0000.01518.39
7.2.200.0090.00918.40
7.2.190.0070.00718.14
7.2.180.0040.01118.32
7.2.170.0000.01417.88
7.2.60.0070.00719.70
7.2.00.0040.01123.05
7.1.330.0000.01418.84
7.1.320.0030.00919.16
7.1.310.0030.01218.90
7.1.300.0040.01118.98
7.1.290.0060.01119.24
7.1.280.0070.00718.80
7.1.270.0070.00718.82
7.1.260.0070.00718.75
7.1.200.0040.00819.15
7.1.100.0060.00921.06
7.1.70.0000.00820.42
7.1.60.0130.01320.72
7.1.50.0130.01320.54
7.1.00.0030.07725.69
7.0.200.0070.00418.30
7.0.60.0030.04323.15
7.0.50.0070.08017.83
7.0.40.0030.05022.99
7.0.30.0330.07023.02
7.0.20.0300.08323.11
7.0.10.0130.05322.93
7.0.00.0070.04022.98
5.6.280.0000.03723.98
5.6.210.0000.09023.83
5.6.200.0130.06718.11
5.6.190.0070.05323.32
5.6.180.0570.06323.57
5.6.170.0300.07323.70
5.6.160.0030.08723.46
5.6.150.0000.04318.15
5.6.140.0100.04018.18
5.6.130.0130.04018.15
5.6.120.0130.07323.92
5.6.110.0030.08724.05
5.6.100.0030.04324.01
5.6.90.0000.07023.94
5.6.80.0070.03723.41
5.5.350.0370.07023.47
5.5.340.0270.03017.91
5.5.330.0100.06023.16
5.5.320.0330.07323.25
5.5.310.0230.04023.29
5.5.300.0100.04017.98
5.5.290.0130.07317.93
5.5.280.0100.04323.86
5.5.270.0070.07023.80
5.5.260.0070.04023.79
5.5.250.0070.04023.73
5.5.240.0030.08723.17
5.4.450.0270.04719.48
5.4.440.0100.06019.05
5.4.430.0430.05019.33
5.4.420.0830.04319.21
5.4.410.0800.04719.48
5.4.400.0730.05018.73
5.4.390.0630.06018.89
5.4.380.0600.05319.02
5.4.370.0800.05719.25
5.4.360.0200.05018.96
5.4.350.0130.06318.89
5.4.340.0270.05719.20
5.4.320.0300.05019.29
5.4.310.0070.06019.20
5.4.300.0230.06319.11
5.4.290.0270.06318.74
5.4.280.0200.06019.12
5.4.270.0170.06019.12
5.4.260.0300.04019.13
5.4.250.0400.04319.21
5.4.240.0100.06019.01
5.4.230.0170.05318.93
5.4.220.0100.06019.02
5.4.210.0400.05319.21
5.4.200.0630.07719.10
5.4.190.0430.06019.09
5.4.180.0700.05719.29
5.4.170.0530.05319.00
5.4.160.0570.05019.08
5.4.150.0470.06318.70
5.4.140.0230.07716.43
5.4.130.0200.04716.32
5.4.120.0300.04716.34
5.4.110.0330.05316.34
5.4.100.0600.05716.54
5.4.90.0700.05316.41
5.4.80.0730.05716.42
5.4.70.0600.06316.55
5.4.60.0200.05316.43
5.4.50.0500.05016.36
5.4.40.0670.06316.04
5.4.30.0770.05316.46
5.4.20.0530.06016.26
5.4.10.0700.05016.34
5.4.00.0530.05015.72

preferences:
40 ms | 400 KiB | 5 Q