3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t1 = DateTime::createFromFormat('U+', '1409900072+0200', new DateTimeZone('UTC'))); $t2 = new DateTime('2014-09-05 07:54:32', new DateTimeZone('Europe/Copenhagen')); var_dump($t1 > $t2);

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)
5.4.320.4400.04318.98
5.4.310.3730.03719.21
5.4.300.3730.03719.04
5.4.290.2630.04319.11
5.4.280.2730.04018.97
5.4.270.3500.03719.04
5.4.260.3230.03319.22
5.4.250.3330.03718.96
5.4.240.3170.04019.25
5.4.230.3030.03719.20
5.4.220.3230.03719.14
5.4.210.3200.03719.12
5.4.200.2730.03719.16
5.4.190.4000.04019.11
5.4.180.4270.04019.25
5.4.170.3030.03719.16
5.4.160.4270.04719.22
5.4.150.3630.04018.95
5.4.140.5000.03716.43
5.4.130.4100.03316.41
5.4.120.3600.03316.38
5.4.110.3930.04016.44
5.4.100.4370.04016.51
5.4.90.4500.03316.64
5.4.80.3770.04016.47
5.4.70.3900.03016.47
5.4.60.3700.03316.29
5.4.50.4470.04016.53
5.4.40.4070.03016.55
5.4.30.4470.03716.42
5.4.20.4770.04016.32
5.4.10.4600.03316.39
5.4.00.4330.03315.82
5.3.290.4230.04014.59
5.3.280.3070.03014.53
5.3.270.3770.04014.71
5.3.260.3670.03314.48
5.3.250.4230.04014.40
5.3.240.3170.03714.54
5.3.230.4000.03314.41
5.3.220.3700.03014.55
5.3.210.4100.03314.54
5.3.200.3900.03714.49
5.3.190.4230.04314.66
5.3.180.3630.03014.65
5.3.170.3700.04014.52
5.3.160.3470.03314.44
5.3.150.3830.03314.66
5.3.140.4070.03714.48
5.3.130.4500.03714.47
5.3.120.4330.03314.57
5.3.110.4070.04014.52
5.3.100.4300.04313.92
5.3.90.4030.04314.00
5.3.80.3930.03313.81
5.3.70.3870.04013.94
5.3.60.3470.03713.84
5.3.50.3670.04013.90
5.3.40.3770.03713.88
5.3.30.3500.03713.70
5.3.20.3700.03713.62
5.3.10.3500.03313.75
5.3.00.3670.03313.48
5.2.170.3270.03311.09
5.2.160.3370.03311.00
5.2.150.2930.03711.03
5.2.140.3070.03311.07
5.2.130.3100.03011.09
5.2.120.3100.02711.09
5.2.110.3070.02711.07
5.2.100.3070.03011.01
5.2.90.2900.02711.18
5.2.80.3000.02311.10
5.2.70.3230.02711.08
5.2.60.3130.02711.04
5.2.50.3070.03010.95
5.2.40.2870.03310.98
5.2.30.2830.02710.98
5.2.20.2570.03310.95
5.2.10.2500.03010.81
5.2.00.2730.02310.75
5.1.60.2730.0279.90
5.1.50.2470.0239.97
5.1.40.3130.0239.94
5.1.30.2830.03010.38
5.1.20.2770.02710.43
5.1.10.2900.02010.09
5.1.00.2570.02310.05
5.0.50.1400.0278.52
5.0.40.1300.0178.40
5.0.30.1570.0308.12
5.0.20.1200.0238.16
5.0.10.1630.0178.15
5.0.00.1430.0338.11
4.4.90.1400.0105.83
4.4.80.0930.0175.79
4.4.70.1230.0175.88
4.4.60.1670.0135.86
4.4.50.1230.0175.77
4.4.40.1500.0275.78
4.4.30.2100.0135.79
4.4.20.1300.0175.87
4.4.10.1600.0205.85
4.4.00.1530.0275.84
4.3.110.1330.0075.74
4.3.100.1300.0175.72
4.3.90.1170.0205.80
4.3.80.1470.0305.71
4.3.70.1470.0175.68
4.3.60.1530.0175.74
4.3.50.1530.0135.72
4.3.40.1530.0235.70
4.3.30.1130.0134.94
4.3.20.1030.0134.94
4.3.10.1030.0134.94
4.3.00.0800.0174.94

preferences:
142.18 ms | 1394 KiB | 7 Q