3v4l.org

run code in 300+ PHP versions simultaneously
<?php $timenow = new DateTime()->format('Y-m-d H:i:s'); echo $timenow; ?>

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.260.4170.03019.04
5.4.250.4370.04718.93
5.4.240.3930.03318.94
5.4.230.3700.04719.04
5.4.220.3930.03719.19
5.4.210.4070.04319.12
5.4.200.4070.04319.13
5.4.190.3970.03719.21
5.4.180.4030.04019.09
5.4.170.3930.04019.12
5.4.160.3800.03718.96
5.4.150.0600.03719.04
5.4.140.1670.03316.45
5.4.130.3400.03316.50
5.4.120.4000.04316.54
5.4.110.3830.03716.48
5.4.100.3770.03716.53
5.4.90.3400.04316.52
5.4.80.3070.03716.43
5.4.70.0670.03016.50
5.4.60.0000.03716.61
5.4.50.3370.04016.62
5.4.40.2930.03316.49
5.4.30.1970.02716.41
5.4.20.4130.03716.49
5.4.10.2400.03716.54
5.4.00.3030.03715.86
5.3.280.4870.03014.52
5.3.270.3870.04314.43
5.3.260.3830.03714.56
5.3.250.2800.03314.57
5.3.240.2600.03314.50
5.3.230.3330.02714.50
5.3.220.3900.04014.55
5.3.210.4070.03714.39
5.3.200.3670.03014.50
5.3.190.3330.04014.52
5.3.180.3700.03314.48
5.3.170.3270.04014.35
5.3.160.0000.03714.68
5.3.150.0000.03714.50
5.3.140.4030.04314.48
5.3.130.3200.02714.47
5.3.120.3170.04714.49
5.3.110.3630.03714.53
5.3.100.3770.04013.98
5.3.90.3870.03313.95
5.3.80.3600.04013.99
5.3.70.3900.04013.83
5.3.60.4130.03713.93
5.3.50.3800.04013.91
5.3.40.3970.04013.88
5.3.30.4470.04013.73
5.3.20.0030.04713.53
5.3.10.4200.03713.63
5.3.00.4230.03313.60
5.2.170.3070.03011.08
5.2.160.3430.02711.16
5.2.150.3800.04711.22
5.2.140.0030.06011.04
5.2.130.0000.03711.25
5.2.120.0000.03311.18
5.2.110.3230.02311.00
5.2.100.3730.02711.00
5.2.90.3770.03711.09
5.2.80.3030.02710.99
5.2.70.3030.03011.00
5.2.60.3970.02710.94
5.2.50.3300.02710.87
5.2.40.2700.02710.89
5.2.30.2830.02711.13
5.2.20.2570.03010.90
5.2.10.3730.03310.91
5.2.00.3200.03010.71
5.1.60.2870.0239.99
5.1.50.2830.0279.99
5.1.40.2670.0239.99
5.1.30.2770.02310.30
5.1.20.2430.02710.35
5.1.10.2530.03010.14
5.1.00.2670.03010.07
5.0.50.1530.0278.45
5.0.40.1630.0238.33
5.0.30.1270.0308.23
5.0.20.1370.0208.10
5.0.10.1530.0178.18
5.0.00.1330.0308.06
4.4.90.1430.0206.34
4.4.80.1600.0136.34
4.4.70.1430.0136.34
4.4.60.1170.0176.34
4.4.50.1770.0136.34
4.4.40.1770.0276.34
4.4.30.1700.0076.34
4.4.20.1570.0176.34
4.4.10.1430.0206.34
4.4.00.1300.0276.34
4.3.110.1370.0206.34
4.3.100.1570.0176.34
4.3.90.1470.0206.34
4.3.80.1470.0306.34
4.3.70.1430.0136.34
4.3.60.1200.0136.34
4.3.50.1430.0136.34
4.3.40.1470.0236.34
4.3.30.1030.0176.34
4.3.20.0900.0206.34
4.3.10.0870.0176.34
4.3.00.0900.0236.34

preferences:
141.53 ms | 1394 KiB | 7 Q