3v4l.org

run code in 200+ PHP versions simultaneously
<?php $datetime = new DateTime('tomorrow'); echo $datetime->format('Y-m-d');

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)
7.4.10.0110.00215.14
7.4.00.0070.00714.84
7.3.130.0100.01014.82
7.3.120.0090.00715.03
7.3.110.0060.01215.00
7.3.100.0100.00315.00
7.3.90.0080.00814.77
7.3.80.0030.00714.68
7.3.70.0040.00414.61
7.3.60.0100.00014.74
7.3.50.0040.00714.80
7.3.40.0060.00914.94
7.3.30.0060.00614.89
7.3.20.0060.01016.72
7.3.10.0040.00816.68
7.3.00.0000.01016.68
7.2.260.0100.01014.74
7.2.250.0110.00715.27
7.2.240.0040.01114.87
7.2.230.0070.01015.03
7.2.220.0040.00715.14
7.2.210.0060.00615.34
7.2.200.0070.01015.18
7.2.190.0040.01115.01
7.2.180.0040.01114.83
7.2.170.0030.01014.87
7.2.160.0040.00715.29
7.2.150.0030.00617.04
7.2.140.0120.00316.99
7.2.130.0040.00816.67
7.2.120.0080.00816.71
7.2.110.0070.00716.88
7.2.100.0030.01316.88
7.2.90.0070.01017.07
7.2.80.0090.00617.04
7.2.70.0090.00617.17
7.2.60.0060.00516.87
7.2.50.0070.00317.15
7.2.40.0110.00416.99
7.2.30.0070.00317.15
7.2.20.0060.00617.07
7.2.10.0000.01516.75
7.2.00.0020.01018.43
7.1.330.0070.00715.58
7.1.320.0030.01415.68
7.1.310.0000.01215.80
7.1.300.0030.00615.59
7.1.290.0070.00315.82
7.1.280.0000.00915.55
7.1.270.0100.00715.74
7.1.260.0060.00315.79
7.1.250.0000.01315.70
7.1.240.0080.00415.75
7.1.230.0030.01415.71
7.1.220.0090.00615.85
7.1.210.0130.00015.93
7.1.200.0040.00915.66
7.1.190.0070.00715.49
7.1.180.0040.01115.81
7.1.170.0030.00615.67
7.1.160.0070.00715.66
7.1.150.0040.00815.49
7.1.140.0070.00715.57
7.1.130.0070.01015.63
7.1.120.0000.01415.64
7.1.110.0030.01015.79
7.1.100.0030.00816.94
7.1.90.0100.00315.74
7.1.80.0070.00715.82
7.1.70.0060.00316.45
7.1.60.0060.00917.50
7.1.50.0080.00916.28
7.1.40.0070.01015.84
7.1.30.0000.01215.95
7.1.20.0030.00915.80
7.1.10.0060.00915.78
7.1.00.0020.03218.85
7.0.330.0040.00715.21
7.0.320.0150.00015.27
7.0.310.0060.00315.28
7.0.300.0030.00915.41
7.0.290.0000.00915.59
7.0.280.0060.00615.49
7.0.270.0030.01015.44
7.0.260.0040.00715.42
7.0.250.0090.00315.19
7.0.240.0030.00615.54
7.0.230.0100.00715.48
7.0.220.0090.00615.30
7.0.210.0030.00715.58
7.0.200.0080.00716.04
7.0.190.0090.00315.11
7.0.180.0000.01515.23
7.0.170.0000.00915.56
7.0.160.0070.00715.67
7.0.150.0040.00415.11
7.0.140.0040.04118.81
7.0.130.0030.00715.62
7.0.120.0030.00615.73
7.0.110.0030.01015.51
7.0.100.0070.00715.36
7.0.90.0000.01515.23
7.0.80.0030.00915.54
7.0.70.0030.00915.24
7.0.60.0080.04018.55
7.0.50.0050.02716.70
7.0.40.0070.02416.88
7.0.30.0250.04016.88
7.0.20.0180.03216.75
7.0.10.0050.02916.78
7.0.00.0060.02316.84
5.6.400.0100.00714.64
5.6.390.0130.00014.32
5.6.380.0060.00614.75
5.6.370.0040.00414.59
5.6.360.0120.00314.58
5.6.350.0070.00714.43
5.6.340.0000.00914.66
5.6.330.0030.00614.11
5.6.320.0060.00314.42
5.6.310.0040.00714.12
5.6.300.0070.00714.75
5.6.290.0070.00714.52
5.6.280.0090.03717.69
5.6.270.0030.00714.41
5.6.260.0030.01014.47
5.6.250.0100.00014.52
5.6.240.0110.00414.52
5.6.230.0060.00614.51
5.6.220.0030.01214.79
5.6.210.0080.02817.48
5.6.200.0070.04116.39
5.6.190.0060.04017.47
5.6.180.0160.04117.49
5.6.170.0170.04117.56
5.6.160.0090.03117.50
5.6.150.0090.04316.11
5.6.140.0070.04516.31
5.6.130.0030.04816.39
5.6.120.0070.04117.77
5.6.110.0100.04217.80
5.6.100.0080.04817.77
5.6.90.0050.02317.62
5.6.80.0070.04217.46
5.6.70.0000.01314.27
5.6.60.0060.00314.61
5.6.50.0030.01014.29
5.6.40.0030.00714.51
5.6.30.0040.01114.54
5.6.20.0060.01014.23
5.6.10.0000.01314.23
5.6.00.0080.00614.35
5.5.380.0040.01114.62
5.5.370.0040.00414.50
5.5.360.0060.00814.07
5.5.350.0070.04717.53
5.5.340.0110.03416.39
5.5.330.0080.02617.38
5.5.320.0150.02817.48
5.5.310.0100.05117.32
5.5.300.0050.02916.13
5.5.290.0070.02216.17
5.5.280.0050.04117.56
5.5.270.0070.02517.56
5.5.260.0030.02817.52
5.5.250.0030.02517.50
5.5.240.0090.02217.09
5.5.230.0030.00914.10
5.5.220.0060.00614.16
5.5.210.0030.01214.23
5.5.200.0060.00614.27
5.5.190.0030.01014.45
5.5.180.0040.01114.15
5.5.170.0070.01014.32
5.5.160.0000.01314.15
5.5.150.0000.00914.42
5.5.140.0070.00714.46
5.5.130.0140.00014.49
5.5.120.0100.00614.34
5.5.110.0030.01414.33
5.5.100.0060.00913.89
5.5.90.0130.00314.32
5.5.80.0030.00714.40
5.5.70.0080.00714.20
5.5.60.0000.01513.85
5.5.50.0030.01314.14
5.5.40.0090.00314.45
5.5.30.0040.00814.12
5.5.20.0030.00914.46
5.5.10.0000.01714.22
5.5.00.0060.00614.34
5.4.450.0050.01915.94
5.4.440.0060.01815.90
5.4.430.0020.02315.89
5.4.420.0030.02715.94
5.4.410.0070.03815.88
5.4.400.0120.03515.73
5.4.390.0070.03915.73
5.4.380.0050.03715.60
5.4.370.0080.04015.71
5.4.360.0050.02315.69
5.4.350.0090.03215.78
5.4.340.0080.03315.58
5.4.330.0030.01012.38
5.4.320.0050.02215.73
5.4.310.0050.04115.74
5.4.300.0020.03615.63
5.4.290.0050.02815.59
5.4.280.0080.04315.77
5.4.270.0050.02815.75
5.4.260.0030.04515.76
5.4.250.0030.02315.76
5.4.240.0030.02415.76
5.4.230.0070.02315.64
5.4.220.0080.04015.72
5.4.210.0070.03815.78
5.4.200.0030.04415.58
5.4.190.0080.03315.78
5.4.180.0100.02215.72
5.4.170.0080.03815.77
5.4.160.0020.04615.72
5.4.150.0030.02615.79
5.4.140.0020.02514.39
5.4.130.0030.02914.40
5.4.120.0030.03814.38
5.4.110.0030.04214.38
5.4.100.0090.03714.29
5.4.90.0120.03314.35
5.4.80.0070.04014.51
5.4.70.0050.04314.41
5.4.60.0070.04114.37
5.4.50.0020.03414.30
5.4.40.0030.02714.35
5.4.30.0010.02314.30
5.4.20.0080.02814.38
5.4.10.0060.02614.33
5.4.00.0050.02614.02
5.3.290.0100.07314.64
5.3.280.0070.04314.52
5.3.270.0100.04714.69
5.3.260.0100.07714.54
5.3.250.0100.05014.53
5.3.240.0070.06314.50
5.3.230.0070.04314.61
5.3.220.0070.07314.48
5.3.210.0070.06714.49
5.3.200.0070.04714.65
5.3.190.0030.04314.52
5.3.180.0130.03314.52
5.3.170.0070.05014.52
5.3.160.0100.07314.44
5.3.150.0130.07314.52
5.3.140.0100.05014.47
5.3.130.0000.04714.50
5.3.120.0070.05714.49
5.3.110.0070.05314.34
5.3.100.0000.07314.05
5.3.90.0100.03713.97
5.3.80.0030.08313.95
5.3.70.0070.04313.83
5.3.60.0100.07313.84
5.3.50.0070.06014.04
5.3.40.0100.05713.90
5.3.30.0070.07313.70
5.3.20.0030.05713.66
5.3.10.0100.06713.61
5.3.00.0030.04013.47
5.2.170.0030.06011.08
5.2.160.0100.06010.97
5.2.150.0030.05711.05
5.2.140.0030.04011.09
5.2.130.0030.05311.00
5.2.120.0030.03711.18
5.2.110.0030.06711.07
5.2.100.0070.04711.07
5.2.90.0070.03711.07
5.2.80.0030.05311.25
5.2.70.0000.04010.98
5.2.60.0030.06010.94
5.2.50.0000.06011.17
5.2.40.0070.05310.89
5.2.30.0030.05711.12
5.2.20.0030.06711.11
5.2.10.0070.04710.81
5.2.00.0030.06310.71
5.1.60.0100.0409.98
5.1.50.0030.0379.97
5.1.40.0100.0339.87
5.1.30.0070.05710.34
5.1.20.0070.04310.20
5.1.10.0070.05010.07
5.1.00.0130.04310.01
5.0.50.0130.0378.54
5.0.40.0000.0478.40
5.0.30.0100.0438.17
5.0.20.0070.0208.16
5.0.10.0000.0238.16
5.0.00.0030.0678.06
4.4.90.0000.0176.88
4.4.80.0000.0336.88
4.4.70.0000.0376.88
4.4.60.0070.0306.88
4.4.50.0000.0406.88
4.4.40.0030.0576.88
4.4.30.0030.0376.88
4.4.20.0070.0176.88
4.4.10.0000.0406.88
4.4.00.0000.0576.88
4.3.110.0030.0306.88
4.3.100.0000.0206.88
4.3.90.0030.0206.88
4.3.80.0030.0236.88
4.3.70.0000.0176.88
4.3.60.0000.0206.88
4.3.50.0030.0136.88
4.3.40.0030.0236.88
4.3.30.0030.0206.88
4.3.20.0000.0176.88
4.3.10.0000.0306.88
4.3.00.0070.0306.88