3v4l.org

run code in 300+ PHP versions simultaneously
<?php $datetime = new DateTime(); $formatter = new IntlDateFormatter('de_DE', IntlDateFormatter::SHORT, IntlDateFormatter::SHORT); $formatter->setPattern('D, d M Y H:i:s'); $now = $formatter->format($datetime); echo $now;

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.00621.29
8.3.30.0110.00422.71
8.3.20.0090.00923.07
8.3.10.0100.00623.46
8.3.00.0080.00026.05
8.2.170.0090.00622.96
8.2.160.0150.00422.55
8.2.150.0030.00624.18
8.2.140.0000.00824.66
8.2.130.0050.00326.16
8.2.120.0000.00824.17
8.2.110.0030.00724.76
8.2.100.0080.00421.16
8.2.90.0150.00021.41
8.2.80.0000.00821.05
8.2.70.0150.00420.84
8.2.60.0110.00620.93
8.2.50.0060.00620.75
8.2.40.0100.00021.47
8.2.30.0080.00822.55
8.2.20.0000.00920.96
8.2.10.0030.00521.01
8.2.00.0050.00521.02
8.1.270.0080.00024.52
8.1.260.0000.00826.35
8.1.250.0060.00928.09
8.1.240.0140.01022.80
8.1.230.0060.00624.01
8.1.220.0060.00320.91
8.1.210.0000.01422.11
8.1.200.0130.00220.23
8.1.190.0000.00820.64
8.1.180.0080.00420.40
8.1.170.0090.00021.65
8.1.160.0050.00721.09
8.1.150.0060.00621.05
8.1.140.0030.00720.68
8.1.130.0140.00321.04
8.1.120.0060.00320.62
8.1.110.0150.00320.66
8.1.100.0050.00320.72
8.1.90.0030.00620.68
8.1.80.0000.00820.65
8.1.70.0070.00320.69
8.1.60.0230.00020.65
8.1.50.0050.00520.64
8.1.40.0070.00720.64
8.1.30.0110.00020.81
8.1.20.0030.00620.57
8.1.10.0100.00020.71
8.1.00.0050.00520.59
8.0.300.0080.00022.35
8.0.290.0000.00820.30
8.0.280.0030.00620.98
8.0.270.0080.00020.37
8.0.260.0050.00220.20
8.0.250.0000.01220.36
8.0.240.0040.01220.29
8.0.230.0060.00320.19
8.0.220.0070.00720.32
8.0.210.0040.00420.21
8.0.200.0130.00020.18
8.0.190.0040.00820.30
8.0.180.0000.00820.08
8.0.170.0000.00820.25
8.0.160.0050.00320.12
8.0.150.0090.00020.07
8.0.140.0000.01220.16
8.0.130.0000.00913.44
8.0.120.0050.00520.15
8.0.110.0080.00020.25
8.0.100.0070.00419.78
8.0.90.0050.00320.08
8.0.80.0030.01320.19
8.0.70.0060.00319.93
8.0.60.0080.00020.09
8.0.50.0040.00420.23
8.0.30.0160.01120.39
8.0.20.0120.00820.46
8.0.10.0000.00820.18
8.0.00.0230.00920.03
7.4.330.0030.00314.89
7.4.320.0060.01019.67
7.4.300.0020.00519.80
7.4.290.0040.00819.86
7.4.280.0000.00719.74
7.4.270.0040.00419.71
7.4.260.0060.00013.32
7.4.250.0040.00419.99
7.4.240.0080.00020.13
7.4.230.0000.00920.13
7.4.220.0300.00920.00
7.4.210.0060.01219.97
7.4.200.0080.00319.55
7.4.190.0080.00019.93
7.4.160.0160.01019.70
7.4.150.0210.00319.85
7.4.140.0230.00919.62
7.4.130.0090.01219.95
7.4.120.0190.00919.87
7.4.110.0100.01120.03
7.4.100.0140.01219.98
7.4.90.0130.01319.95
7.4.80.0260.00920.07
7.4.70.0200.01319.87
7.4.60.0320.00319.84
7.4.50.0020.00519.74
7.4.40.0070.00722.77
7.4.30.0130.00719.91
7.4.00.0060.01218.55
7.3.330.0050.00013.09
7.3.320.0050.00013.12
7.3.310.0030.00519.59
7.3.300.0070.00019.50
7.3.290.0230.00319.51
7.3.280.0060.01219.38
7.3.270.0240.00619.45
7.3.260.0210.00819.60
7.3.250.0220.00519.72
7.3.240.0100.01619.64
7.3.230.0140.00619.74
7.3.210.0100.01019.85
7.3.200.0090.01519.53
7.3.190.0290.00319.31
7.3.180.0210.00919.47
7.3.170.0160.00319.67
7.3.160.0120.00919.64
7.3.120.0110.00317.87
7.2.330.0180.00619.76
7.2.320.0030.01619.97
7.2.310.0120.00919.72
7.2.300.0030.01719.75
7.2.290.0150.00619.89
7.2.60.0090.01519.82
7.2.00.0060.01222.79
7.1.200.0080.01119.23
7.1.100.0000.01421.45
7.1.70.0060.00620.55
7.1.60.0160.01320.58
7.1.50.0120.00920.54
7.1.00.0030.07025.71
7.0.200.0000.01220.17
7.0.140.0030.07325.50
7.0.70.0070.07724.88
7.0.60.0070.08724.90
7.0.50.0100.08025.24
7.0.40.0030.08723.22
7.0.30.0130.08323.31
7.0.20.0130.08023.21
7.0.10.0030.08723.27
7.0.00.0100.04023.25
5.6.280.0100.06723.80
5.6.220.0070.06023.99
5.6.210.0100.07723.63
5.6.200.0070.07724.11
5.6.190.0030.08324.23
5.6.180.0000.09024.16
5.6.170.0030.04324.10
5.6.160.0030.06024.18
5.6.150.0000.04324.04
5.6.140.0100.08324.13
5.6.130.0100.08324.11
5.6.120.0000.07324.32
5.6.110.0030.05324.30
5.6.100.0070.04024.24
5.6.90.0030.04323.93
5.6.80.0030.08323.41
5.6.70.0170.06723.38
5.6.60.0070.05323.47
5.6.50.0070.07023.57
5.6.40.0100.08023.51
5.6.30.0070.06023.46
5.6.20.0070.03723.26
5.6.10.0070.05723.38
5.6.00.0030.04323.65
5.5.360.0030.07023.48
5.5.350.0000.08023.47
5.5.340.0100.08323.84
5.5.330.0030.05324.03
5.5.320.0070.06723.88
5.5.310.0100.08023.84
5.5.300.0130.08023.86
5.5.290.0130.05023.81
5.5.280.0130.06723.95
5.5.270.0070.04324.16
5.5.260.0030.05023.95
5.5.250.0030.04323.81
5.5.240.0030.07023.21
5.5.230.0130.07723.26
5.5.220.0030.04023.21
5.5.210.0030.07323.29
5.5.200.0000.06023.33
5.5.190.0100.08023.29
5.5.180.0030.04723.38
5.5.160.0100.07723.38
5.5.150.0070.08023.25
5.5.140.0070.06723.20
5.5.130.0100.07723.36
5.5.120.0070.06023.25
5.5.110.0030.08723.30
5.5.100.0070.07723.13
5.5.90.0070.07723.18
5.5.80.0030.07723.15
5.5.70.0070.08023.23
5.5.60.0070.08023.14
5.5.50.0030.08323.21
5.5.40.0000.08323.10
5.5.30.0070.06023.07
5.5.20.0030.05023.12
5.5.10.0070.08323.21
5.5.00.0030.06723.20
5.4.450.0100.07322.33
5.4.440.0000.09022.32
5.4.430.0030.06722.48
5.4.420.0130.05322.20
5.4.410.0000.04021.77
5.4.400.0070.03321.55
5.4.390.0130.07722.21
5.4.380.0100.07721.97
5.4.370.0030.07721.54
5.4.360.0000.05021.82
5.4.350.0030.07721.90
5.4.340.0030.04021.88
5.4.320.0070.08021.91
5.4.310.0130.04721.67
5.4.300.0070.05322.04
5.4.290.0100.06721.84
5.4.280.0030.04722.14
5.4.270.0130.07321.84
5.4.260.0030.07721.90
5.4.250.0200.06321.78
5.4.240.0070.07721.81
5.4.230.0100.07321.63
5.4.220.0000.05021.91
5.4.210.0000.08021.61
5.4.200.0030.07721.62
5.4.190.0030.07321.83
5.4.180.0070.07021.65
5.4.170.0030.05721.78
5.4.160.0100.07721.73
5.4.150.0100.07722.04
5.4.140.0070.08319.15
5.4.130.0000.05719.34
5.4.120.0070.07718.97
5.4.110.0070.07319.09
5.4.100.0070.06019.12
5.4.90.0100.04719.29
5.4.80.0000.07718.82
5.4.70.0030.06019.07
5.4.60.0000.07719.30
5.4.50.0070.05019.30
5.4.40.0100.07018.81
5.4.30.0030.05318.80
5.4.20.0030.06718.97
5.4.10.0170.06018.88
5.4.00.0030.07018.36
5.3.290.0030.07014.62
5.3.280.0030.06014.55
5.3.270.0100.06014.54
5.3.260.0100.06714.62
5.3.250.0030.05314.60
5.3.240.0070.07014.51
5.3.230.0100.05314.45
5.3.220.0000.08314.42
5.3.210.0070.07314.56
5.3.200.0030.06014.52
5.3.190.0030.04714.54
5.3.180.0000.08014.38
5.3.170.0030.07714.54
5.3.160.0100.07014.50
5.3.150.0030.07314.42
5.3.140.0030.08014.52
5.3.130.0070.04314.52
5.3.120.0030.06314.36
5.3.110.0000.08314.54
5.3.100.0070.07314.02
5.3.90.0070.06714.00
5.3.80.0030.07713.93
5.3.70.0100.06714.01
5.3.60.0030.07713.87
5.3.50.0030.05313.73
5.3.40.0030.07713.93
5.3.30.0030.06313.90
5.3.20.0000.04713.55
5.3.10.0130.05713.56
5.3.00.0030.07313.55
5.2.170.0070.06312.35
5.2.160.0070.05312.35
5.2.150.0030.05012.35
5.2.140.0000.07012.35
5.2.130.0000.04312.35
5.2.120.0030.06312.35
5.2.110.0070.05012.35
5.2.100.0030.06012.35
5.2.90.0000.05712.35
5.2.80.0000.06012.35
5.2.70.0070.06012.35
5.2.60.0030.05712.35
5.2.50.0100.05712.35
5.2.40.0030.06012.35
5.2.30.0030.06712.35
5.2.20.0000.05012.35
5.2.10.0030.04312.35
5.2.00.0030.04012.35
5.1.60.0000.03012.35
5.1.50.0030.04312.35
5.1.40.0000.05312.35
5.1.30.0030.05312.35
5.1.20.0030.05012.35
5.1.10.0000.03712.35
5.1.00.0100.04712.35
5.0.50.0030.03312.35
5.0.40.0070.03012.35
5.0.30.0030.03012.35
5.0.20.0000.02712.35
5.0.10.0100.03712.35
5.0.00.0030.04012.35
4.4.90.0070.03012.35
4.4.80.0030.03312.35
4.4.70.0030.03312.35
4.4.60.0030.04012.35
4.4.50.0000.03312.35
4.4.40.0030.05312.35
4.4.30.0000.03312.35
4.4.20.0030.03312.35
4.4.10.0030.03312.35
4.4.00.0030.03712.35
4.3.110.0030.03012.35
4.3.100.0000.02712.35
4.3.90.0030.03312.35
4.3.80.0030.05012.35
4.3.70.0000.02712.35
4.3.60.0000.03312.35
4.3.50.0030.03712.35
4.3.40.0000.04712.35
4.3.30.0000.03312.35
4.3.20.0000.04012.35
4.3.10.0000.03312.35
4.3.00.0070.02312.35

preferences:
41 ms | 400 KiB | 5 Q