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::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.40.0070.01420.81
8.3.30.0150.00021.05
8.3.20.0080.00022.54
8.3.10.0030.00625.95
8.3.00.0090.00022.50
8.2.170.0120.00922.96
8.2.160.0110.00424.36
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0070.00320.75
8.2.110.0030.00724.38
8.2.100.0200.00621.09
8.2.90.0030.00621.44
8.2.80.0130.00320.75
8.2.70.0050.00520.75
8.2.60.0060.00321.16
8.2.50.0060.00320.50
8.2.40.0150.00422.41
8.2.30.0030.00522.92
8.2.20.0030.00620.85
8.2.10.0040.00420.99
8.2.00.0090.00020.90
8.1.270.0060.00326.10
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0050.00524.12
8.1.230.0160.01020.46
8.1.220.0060.00320.66
8.1.210.0000.00920.61
8.1.200.0000.01120.48
8.1.190.0000.00820.48
8.1.180.0030.00620.53
8.1.170.0040.00421.87
8.1.160.0030.00524.18
8.1.150.0060.00321.25
8.1.140.0090.00022.61
8.1.130.0060.00320.67
8.1.120.0000.00820.68
8.1.110.0040.00420.62
8.1.100.0030.00620.55
8.1.90.0030.00620.64
8.1.80.0080.00020.42
8.1.70.0030.00620.66
8.1.60.0000.00920.80
8.1.50.0030.00620.70
8.1.40.0030.00820.58
8.1.30.0030.00621.02
8.1.20.0040.00420.66
8.1.10.0060.00320.74
8.1.00.0000.00820.77
8.0.300.0050.00520.54
8.0.290.0040.00420.00
8.0.280.0030.00520.66
8.0.270.0000.00720.41
8.0.260.0000.00720.96
8.0.250.0000.00820.30
8.0.240.0040.00420.26
8.0.230.0040.00420.10
8.0.220.0080.00020.17
8.0.210.0040.00420.27
8.0.200.0050.00320.23
8.0.190.0000.00920.17
8.0.180.0080.00020.11
8.0.170.0000.00920.06
8.0.160.0040.00420.00
8.0.150.0040.00420.17
8.0.140.0050.00319.96
8.0.130.0000.00513.39
8.0.120.0030.00520.13
8.0.110.0080.00020.32
8.0.100.0000.00820.23
8.0.90.0030.00620.33
8.0.80.0100.00720.33
8.0.70.0040.00420.37
8.0.60.0000.00819.90
8.0.50.0050.00320.14
8.0.30.0100.01020.52
8.0.20.0110.00920.29
8.0.10.0000.00920.14
8.0.00.0090.01419.90
7.4.330.0020.00215.15
7.4.320.0040.00419.96
7.4.300.0040.00919.64
7.4.290.0030.00619.92
7.4.280.0090.00019.90
7.4.270.0040.00419.86
7.4.260.0000.00819.94
7.4.250.0060.00319.77
7.4.240.0040.00419.86
7.4.230.0040.00419.76
7.4.220.0110.00819.74
7.4.210.0130.01019.82
7.4.200.0080.00020.07
7.4.160.0030.01319.94
7.4.150.0200.00019.82
7.4.140.0030.01719.77
7.4.130.0110.00819.87
7.4.120.0110.00819.74
7.4.110.0100.01319.69
7.4.100.0190.00619.84
7.4.90.0120.00619.90
7.4.80.0140.00719.99
7.4.70.0060.01219.96
7.4.60.0110.00919.88
7.4.50.0030.00620.00
7.4.40.0100.01019.81
7.4.30.0120.01219.79
7.4.00.0040.01518.18
7.3.330.0000.00613.23
7.3.320.0000.00513.30
7.3.310.0050.00319.24
7.3.300.0000.00719.56
7.3.290.0110.00819.47
7.3.280.0110.00719.44
7.3.270.0120.00619.37
7.3.260.0100.01019.47
7.3.250.0100.00819.55
7.3.240.0170.00619.49
7.3.230.0100.01319.79
7.3.210.0060.01219.82
7.3.200.0070.01419.74
7.3.190.0070.01119.25
7.3.180.0060.01219.75
7.3.170.0160.00719.38
7.3.160.0060.01219.63
7.2.330.0060.01319.90
7.2.320.0110.00819.66
7.2.310.0070.01319.79
7.2.300.0090.01019.80
7.2.290.0040.01419.86
7.2.60.0030.01420.06
7.2.00.0000.01122.97
7.1.200.0070.01019.04
7.1.100.0040.01121.14
7.1.70.0000.00820.61
7.1.60.0100.01620.48
7.1.50.0130.01320.66
7.1.00.0030.07725.52
7.0.200.0080.00418.32
7.0.60.0130.07723.10
7.0.50.0100.08317.80
7.0.40.0200.07722.85
7.0.30.0170.04722.92
7.0.20.0270.06722.98
7.0.10.0100.06323.09
7.0.00.0030.04322.75
5.6.280.0030.03323.81
5.6.210.0130.08023.76
5.6.200.0070.08018.18
5.6.190.0030.05023.25
5.6.180.0570.05323.44
5.6.170.0270.03723.32
5.6.160.0070.08723.27
5.6.150.0100.03318.22
5.6.140.0100.07718.18
5.6.130.0070.03718.18
5.6.120.0030.08724.02
5.6.110.0100.07323.92
5.6.100.0000.04723.92
5.6.90.0070.06324.21
5.6.80.0030.04323.40
5.5.350.0300.07323.45
5.5.340.0130.07718.04
5.5.330.0070.07023.18
5.5.320.0170.05723.07
5.5.310.0230.08323.50
5.5.300.0030.04017.98
5.5.290.0100.06017.91
5.5.280.0100.06323.89
5.5.270.0070.06323.94
5.5.260.0000.04323.95
5.5.250.0030.04323.50
5.5.240.0100.07023.20
5.4.450.0200.06319.06
5.4.440.0270.07019.46
5.4.430.0230.07319.56
5.4.420.0130.08019.45
5.4.410.0030.06719.35
5.4.400.0170.06018.90
5.4.390.0100.06318.89
5.4.380.0270.06019.14
5.4.370.0230.05719.12
5.4.360.0330.07019.12
5.4.350.0300.05719.20
5.4.340.0270.05018.84
5.4.320.0270.06019.15
5.4.310.0130.06018.72
5.4.300.0100.07319.13
5.4.290.0370.05719.15
5.4.280.0270.04318.72
5.4.270.0200.06319.29
5.4.260.0300.04719.20
5.4.250.0100.05719.28
5.4.240.0200.06019.12
5.4.230.0170.05719.12
5.4.220.0100.06019.28
5.4.210.0170.05719.21
5.4.200.0170.05318.89
5.4.190.0200.05719.28
5.4.180.0130.05718.88
5.4.170.0070.05719.28
5.4.160.0470.05719.13
5.4.150.0670.05019.15
5.4.140.0530.06716.31
5.4.130.0700.06716.38
5.4.120.0600.05716.52
5.4.110.0230.04016.23
5.4.100.0100.05316.50
5.4.90.0130.05016.50
5.4.80.0100.05316.57
5.4.70.0130.05016.40
5.4.60.0530.04316.43
5.4.50.0170.05016.50
5.4.40.0230.06716.13
5.4.30.0100.05316.39
5.4.20.0200.06016.26
5.4.10.0170.05016.51
5.4.00.0130.04715.74

preferences:
57.69 ms | 400 KiB | 5 Q