3v4l.org

run code in 300+ PHP versions simultaneously
<?php $orange = new DateTime('2014-10-05 01:00:00')->getTimestamp(); echo $orange;

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.340.3870.04319.13
5.4.320.3900.04019.21
5.4.310.3970.03719.08
5.4.300.4100.04018.98
5.4.290.3730.03019.20
5.4.280.4670.03719.13
5.4.270.4000.04319.11
5.4.260.3970.03319.22
5.4.250.4130.04019.20
5.4.240.3970.03719.21
5.4.230.3900.04318.98
5.4.220.3900.04019.10
5.4.210.4000.04019.12
5.4.200.4030.03719.16
5.4.190.3330.03719.23
5.4.180.3870.04319.21
5.4.170.3600.04019.05
5.4.160.3730.03319.15
5.4.150.3900.03718.91
5.4.140.3730.03316.35
5.4.130.3670.04316.50
5.4.120.3700.03016.35
5.4.110.3800.04016.45
5.4.100.4000.03716.37
5.4.90.3770.03716.52
5.4.80.3730.03316.24
5.4.70.4070.03716.34
5.4.60.3900.03716.61
5.4.50.3600.03716.25
5.4.40.3930.03316.47
5.4.30.4100.04016.32
5.4.20.3800.04316.60
5.4.10.3700.03716.45
5.4.00.4200.03715.80
5.3.290.3930.04014.60
5.3.280.3900.03714.54
5.3.270.3930.03714.57
5.3.260.3670.04014.55
5.3.250.3670.04014.56
5.3.240.3730.03714.60
5.3.230.4170.04014.61
5.3.220.3870.03314.52
5.3.210.4000.03314.45
5.3.200.3830.03714.49
5.3.190.3700.03714.52
5.3.180.3870.03714.46
5.3.170.3970.03314.49
5.3.160.3730.03014.53
5.3.150.3670.03314.51
5.3.140.3470.03014.48
5.3.130.3770.04014.49
5.3.120.4030.04314.47
5.3.110.3630.03714.47
5.3.100.3870.03713.97
5.3.90.3270.03313.92
5.3.80.4270.04013.84
5.3.70.3930.03714.11
5.3.60.3970.03013.95
5.3.50.3830.04014.04
5.3.40.3700.03713.89
5.3.30.4000.03314.00
5.3.20.4300.03313.77
5.3.10.4200.03313.58
5.3.00.3970.03013.42
5.2.170.3830.03011.11
5.2.160.3570.02710.98
5.2.150.3370.02711.09
5.2.140.3230.03711.11
5.2.130.3370.03011.04
5.2.120.3300.03011.25
5.2.110.3270.03711.04
5.2.100.3470.02011.18
5.2.90.3100.03011.25
5.2.80.3300.02711.06
5.2.70.4130.03711.24
5.2.60.4100.02710.98
5.2.50.3130.02710.97
5.2.40.2570.02710.98
5.2.30.2530.02310.93
5.2.20.2330.03311.11
5.2.10.2430.02710.71
5.2.00.2630.03010.60
5.1.60.2930.02310.06
5.1.50.2470.0279.98
5.1.40.2570.02010.03
5.1.30.2430.03010.35
5.1.20.2470.02310.34
5.1.10.2300.0279.97
5.1.00.2470.02310.13
5.0.50.1200.0238.45
5.0.40.1200.0208.52
5.0.30.1230.0278.29
5.0.20.1200.0178.21
5.0.10.1270.0208.32
5.0.00.1230.0278.30
4.4.90.1730.0208.21
4.4.80.1470.0178.21
4.4.70.1230.0138.21
4.4.60.1230.0138.21
4.4.50.1500.0138.21
4.4.40.1300.0238.21
4.4.30.1230.0178.21
4.4.20.1270.0138.21
4.4.10.1270.0178.21
4.4.00.1300.0208.21
4.3.110.1370.0208.21
4.3.100.1630.0078.21
4.3.90.1230.0138.21
4.3.80.1200.0238.21
4.3.70.1400.0178.21
4.3.60.1400.0178.21
4.3.50.1370.0178.21
4.3.40.1500.0238.21
4.3.30.0800.0238.21
4.3.20.0730.0238.21
4.3.10.0800.0278.21
4.3.00.0670.0178.21

preferences:
143.3 ms | 1394 KiB | 7 Q