3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach(range('a', 'z') as $letter){ try{ $date = new \DateTime($letter); var_dump($date); } catch(Exception $e){ var_dump($e); } }

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.0.0beta10.0150.01216.98
8.0.0alpha30.0250.00616.96
8.0.0alpha20.0140.00816.76
8.0.0alpha10.0140.00616.65
7.4.90.0070.01316.57
7.4.80.0160.00816.63
7.4.70.0030.01716.82
7.4.60.0110.00716.48
7.4.50.0000.00516.56
7.4.40.0090.00922.77
7.4.30.0070.01016.69
7.4.00.0080.01014.92
7.3.210.0150.00816.69
7.3.200.0100.01719.39
7.3.190.0090.01516.65
7.3.180.0140.00516.62
7.3.170.0100.01316.53
7.3.160.0150.00916.45
7.3.120.0030.01314.98
7.3.110.0120.00615.02
7.3.100.0130.00315.03
7.3.90.0100.00714.98
7.3.80.0130.00615.18
7.3.70.0030.01314.70
7.3.60.0030.01315.04
7.3.50.0030.00715.02
7.3.40.0100.00714.91
7.3.30.0040.01515.02
7.3.20.0000.01916.55
7.3.10.0030.00916.91
7.3.00.0070.00716.67
7.2.330.0090.01116.93
7.2.320.0090.01216.82
7.2.310.0130.00616.91
7.2.300.0150.00616.95
7.2.290.0140.00716.62
7.2.250.0150.00314.80
7.2.240.0060.01515.38
7.2.230.0000.01215.04
7.2.220.0000.01415.27
7.2.210.0030.01315.21
7.2.200.0110.00715.18
7.2.190.0140.00415.13
7.2.180.0070.01115.06
7.2.170.0100.00715.22
7.2.60.0130.00317.11
7.2.00.0070.00719.90
7.1.330.0060.01015.91
7.1.320.0090.00615.70
7.1.310.0090.00315.76
7.1.300.0000.01515.94
7.1.290.0030.00715.97
7.1.280.0120.00315.80
7.1.270.0140.00415.99
7.1.260.0070.00715.89
7.1.200.0070.00715.97
7.1.100.0030.01318.04
7.1.70.0130.00717.23
7.1.60.0170.01019.32
7.1.50.0090.01216.96
7.1.00.0070.07722.51
7.0.200.0140.00416.77
7.0.140.0000.08021.92
7.0.60.0070.03719.90
7.0.50.0070.08317.77
7.0.40.0000.04719.90
7.0.30.0200.08320.00
7.0.20.0270.08020.02
7.0.10.0170.04320.02
7.0.00.0170.08320.01
5.6.280.0030.07721.02
5.6.210.0130.08020.50
5.6.200.0100.08018.19
5.6.190.0070.08020.41
5.6.180.0430.05720.45
5.6.170.0270.08320.38
5.6.160.0030.09020.48
5.6.150.0070.04318.11
5.6.140.0100.05018.16
5.6.130.0100.06718.09
5.6.120.0000.06321.01
5.6.110.0030.08320.98
5.6.100.0170.07321.03
5.6.90.0070.04020.98
5.6.80.0130.07020.38
5.6.70.0000.07020.27
5.5.350.0100.06320.38
5.5.340.0070.04717.96
5.5.330.0070.04320.25
5.5.320.0070.04320.20
5.5.310.0270.08020.29
5.5.300.0070.04717.95
5.5.290.0030.08717.98
5.5.280.0030.05020.89
5.5.270.0100.08720.79
5.5.260.0100.03720.65
5.5.250.0130.07720.61
5.5.240.0170.07020.18
5.4.450.0670.04719.26
5.4.440.0800.04019.11
5.4.430.0700.04319.38
5.4.420.0530.03019.23
5.4.410.0400.04019.45
5.4.400.0530.05718.77
5.4.390.0300.05718.72
5.4.380.0170.05318.74
5.4.370.0170.05718.60
5.4.360.0170.05718.59
5.4.350.0230.05718.71
5.4.340.0270.05018.50
5.4.320.0060.04112.46
5.4.310.0070.03912.46
5.4.300.0060.04412.46
5.4.290.0060.04812.46
5.4.280.0050.03712.36
5.4.270.0070.03712.36
5.4.260.0120.03812.36
5.4.250.0070.04012.36
5.4.240.0110.04012.36
5.4.230.0090.05412.35
5.4.220.0060.03912.35
5.4.210.0130.03612.35
5.4.200.0070.04512.35
5.4.190.0140.04612.34
5.4.180.0190.04212.33
5.4.170.0140.04612.34
5.4.160.0180.07212.34
5.4.150.0150.04612.34
5.4.140.0300.09112.02
5.4.130.0150.04612.01
5.4.120.0320.08711.97
5.4.110.0130.04511.96
5.4.100.0140.04511.96
5.4.90.0150.04711.96
5.4.80.0190.04411.96
5.4.70.0200.06811.95
5.4.60.0140.04511.96
5.4.50.0200.04111.96
5.4.40.0400.07911.94
5.4.30.0170.04211.94
5.4.20.0300.05811.94
5.4.10.0160.04411.94
5.4.00.0220.07111.43
5.3.290.0090.04912.80
5.3.280.0110.04412.71
5.3.270.0170.04812.73
5.3.260.0220.04712.72
5.3.250.0160.04912.72
5.3.240.0200.04712.72
5.3.230.0210.04412.71
5.3.220.0210.04412.68
5.3.210.0490.07712.68
5.3.200.0200.04412.68
5.3.190.0210.04212.68
5.3.180.0160.04712.67
5.3.170.0240.04112.66
5.3.160.0360.09112.67
5.3.150.0150.04712.67
5.3.140.0160.04812.66
5.3.130.0170.04612.66
5.3.120.0250.06812.66
5.3.110.0140.04912.66
5.3.100.0210.07112.12
5.3.90.0180.04512.09
5.3.80.0180.04612.08
5.3.70.0140.04812.07
5.3.60.0310.09212.07
5.3.50.0210.04312.00
5.3.40.0220.04312.00
5.3.30.0270.09511.95
5.3.20.0180.04411.72
5.3.10.0220.03811.69
5.3.00.0270.06411.71
5.2.170.0120.0389.16
5.2.160.0110.0389.16
5.2.150.0180.0339.16
5.2.140.0170.0329.16
5.2.130.0110.0379.12
5.2.120.0160.0349.13
5.2.110.0170.0369.13
5.2.100.0150.0419.15
5.2.90.0150.0389.16
5.2.80.0200.0379.15
5.2.70.0520.0929.14
5.2.60.0300.0829.07
5.2.50.0170.0319.04
5.2.40.0130.0359.02
5.2.30.0160.0349.00
5.2.20.0180.0348.99
5.2.10.0160.0368.91
5.2.00.0170.0348.77
5.1.60.0090.0328.04
5.1.50.0120.0308.04
5.1.40.0220.0508.03
5.1.30.0130.0308.37
5.1.20.0130.0298.40
5.1.10.0110.0328.13
5.1.00.0130.0298.12
5.0.50.0080.0276.61
5.0.40.0120.0226.45
5.0.30.0070.0376.27
5.0.20.0080.0246.25
5.0.10.0080.0246.22
5.0.00.0210.0846.22
4.4.90.0090.0164.78
4.4.80.0090.0164.76
4.4.70.0080.0184.75
4.4.60.0090.0174.75
4.4.50.0050.0204.77
4.4.40.0070.0294.71
4.4.30.0110.0154.76
4.4.20.0130.0134.85
4.4.10.0060.0204.85
4.4.00.0060.0304.76
4.3.110.0060.0194.67
4.3.100.0120.0124.66
4.3.90.0070.0204.63
4.3.80.0090.0264.58
4.3.70.0080.0164.63
4.3.60.0060.0194.63
4.3.50.0060.0194.63
4.3.40.0060.0284.54
4.3.30.0110.0433.28
4.3.20.0060.0183.26
4.3.10.0070.0173.23
4.3.00.0100.01315.54