3v4l.org

run code in 200+ PHP versions simultaneously
<?php //round pour le changement d'heure $debut = mktime(0, 0, 0, 10, 27, 2013); $fin = mktime(23, 59, 59, 11, 10, 2013); $d1 = new DateTime('now',new DateTimeZone('Europe/Paris')); $d2 = new DateTime('now',new DateTimeZone('Europe/Paris')); $d1->setTimestamp($debut); $d2->setTimestamp($fin); $diff = $d1->diff($d2); print_r($diff);

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.00.0030.01315.20
7.3.120.0050.01015.02
7.3.110.0030.01314.74
7.3.100.0060.00914.74
7.3.90.0090.00615.05
7.3.80.0120.00014.91
7.3.70.0070.00714.70
7.3.60.0060.00614.99
7.3.50.0060.00614.82
7.3.40.0120.00314.93
7.3.30.0050.00514.70
7.3.20.0000.01516.79
7.3.10.0060.00716.60
7.3.00.0030.00916.76
7.2.250.0070.01014.88
7.2.240.0070.01015.26
7.2.230.0130.00314.88
7.2.220.0030.00914.98
7.2.210.0060.00615.06
7.2.200.0110.00314.98
7.2.190.0070.00315.09
7.2.180.0090.00615.23
7.2.170.0040.00715.15
7.2.130.0140.00717.13
7.2.120.0100.00616.83
7.2.110.0150.00316.87
7.2.100.0000.01216.94
7.2.90.0170.00616.91
7.2.80.0130.00616.92
7.2.70.0090.01317.21
7.2.60.0080.00916.88
7.2.50.0190.00417.10
7.2.40.0030.01016.91
7.2.30.0030.01316.93
7.2.20.0000.01317.00
7.2.10.0090.00316.96
7.2.00.0020.01018.23
7.1.330.0100.00616.09
7.1.320.0070.01015.80
7.1.310.0080.00415.93
7.1.300.0030.00715.80
7.1.290.0060.00915.84
7.1.280.0040.01115.88
7.1.270.0100.00316.10
7.1.260.0040.01115.88
7.1.250.0030.01316.11
7.1.200.0200.00915.75
7.1.100.0060.00618.16
7.1.70.0000.01017.39
7.1.60.0160.00319.32
7.1.50.0070.01517.14
7.1.00.0000.05022.51
7.0.200.0000.01016.80
7.0.140.0070.07022.19
7.0.60.0100.07720.02
7.0.50.0070.04717.80
7.0.40.0130.06720.20
7.0.30.0230.07320.09
7.0.20.0270.07720.07
7.0.10.0070.08020.20
7.0.00.0070.09020.08
5.6.280.0030.07320.90
5.6.210.0030.04020.70
5.6.200.0130.06318.18
5.6.190.0100.08020.57
5.6.180.0300.06020.28
5.6.170.0230.05720.48
5.6.160.0030.04720.49
5.6.150.0030.07718.14
5.6.140.0170.07318.22
5.6.130.0070.08718.18
5.6.120.0130.07320.98
5.6.110.0100.06321.04
5.6.100.0030.07321.13
5.6.90.0070.05020.95
5.6.80.0100.07320.37
5.6.70.4900.03320.40
5.5.350.0030.08020.40
5.5.340.0070.08318.02
5.5.330.0070.08720.36
5.5.320.0300.05020.13
5.5.310.0230.04320.26
5.5.300.0030.08317.95
5.5.290.0130.03717.98
5.5.280.0100.08320.61
5.5.270.0030.06720.83
5.5.260.0100.05720.95
5.5.250.0030.04020.57
5.5.240.0200.04020.23
5.4.450.0000.06019.14
5.4.440.0170.07019.47
5.4.430.0070.05019.50
5.4.420.0100.08019.50
5.4.410.0030.04019.36
5.4.400.0070.07719.15
5.4.390.0030.08319.08
5.4.380.0070.08319.18
5.4.370.0200.05319.19
5.4.360.0130.05719.01
5.4.350.0130.06718.97
5.4.340.0100.07719.18
5.4.320.0100.04718.96
5.4.310.0170.06319.11
5.4.300.0030.04719.08
5.4.290.0130.07319.08
5.4.280.0130.07019.13
5.4.270.0070.07319.08
5.4.260.0100.05719.14
5.4.250.0000.04718.78
5.4.240.0070.06319.08
5.4.230.0130.07019.15
5.4.220.0070.07319.07
5.4.210.0070.05019.04
5.4.200.0030.08319.00
5.4.190.0030.05719.13
5.4.180.0030.06719.13
5.4.170.0170.06019.14
5.4.160.0100.06318.90
5.4.150.0070.06018.89
5.4.140.0170.06316.39
5.4.130.0030.06716.41
5.4.120.0100.03716.27
5.4.110.0130.06016.39
5.4.100.0100.05316.32
5.4.90.0030.07316.29
5.4.80.0030.04016.42
5.4.70.0070.03716.44
5.4.60.0000.04316.38
5.4.50.0100.03716.63
5.4.40.0200.03316.39
5.4.30.0130.05316.25
5.4.20.0130.06316.38
5.4.10.0000.04016.63
5.4.00.0030.03715.75
5.3.290.0130.06714.60
5.3.280.0100.04014.55
5.3.270.0130.06014.54
5.3.260.0100.07014.54
5.3.250.0070.04714.53
5.3.240.0100.07014.57
5.3.230.0100.06314.59
5.3.220.0100.03314.52
5.3.210.0030.08014.49
5.3.200.0000.04314.47
5.3.190.0070.04714.50
5.3.180.0070.06314.49
5.3.170.0000.05314.54
5.3.160.0030.06314.51
5.3.150.0030.04314.48
5.3.140.0070.07314.35
5.3.130.0000.05014.45
5.3.120.0070.04014.45
5.3.110.0070.07014.47
5.3.100.0000.05014.02
5.3.90.0100.03314.00
5.3.80.0070.03314.00
5.3.70.0030.05313.84
5.3.60.0130.03713.95
5.3.50.0070.07313.88
5.3.40.0030.07013.89
5.3.30.0130.06713.84
5.3.20.0100.04313.66
5.3.10.0130.06013.60
5.3.00.0130.07013.73
5.2.170.0000.03711.12
5.2.160.0030.04711.07
5.2.150.0070.06011.30
5.2.140.0030.06311.09
5.2.130.0100.05711.09
5.2.120.0070.05711.11
5.2.110.0070.06011.04
5.2.100.0070.06011.00
5.2.90.0030.06711.06
5.2.80.0000.07011.18
5.2.70.0030.04711.04
5.2.60.0070.06310.99
5.2.50.0100.03310.96
5.2.40.0130.02710.86
5.2.30.0030.06010.88
5.2.20.0000.06710.79
5.2.10.0030.03010.87
5.2.00.0030.05310.72
5.1.60.0000.06010.00
5.1.50.0000.0479.89
5.1.40.0000.03010.00
5.1.30.0030.02710.34
5.1.20.0000.03310.22
5.1.10.0000.02710.14
5.1.00.0030.0279.91
5.0.50.0030.0178.55
5.0.40.0000.0208.32
5.0.30.0030.0308.14
5.0.20.0030.0178.16
5.0.10.0000.0208.20
5.0.00.0070.0278.31
4.4.90.0030.0337.79
4.4.80.0000.0207.79
4.4.70.0030.0307.79
4.4.60.0030.0137.79
4.4.50.0000.0207.79
4.4.40.0030.0337.79
4.4.30.0030.0177.79
4.4.20.0000.0177.79
4.4.10.0000.0177.79
4.4.00.0000.0277.79
4.3.110.0070.0107.79
4.3.100.0000.0177.79
4.3.90.0000.0137.79
4.3.80.0000.0237.79
4.3.70.0000.0137.79
4.3.60.0030.0137.79
4.3.50.0000.0207.79
4.3.40.0030.0377.79
4.3.30.0000.0177.79
4.3.20.0000.0177.79
4.3.10.0030.0137.79
4.3.00.0000.0137.79