3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump((new DateTime('start of next hour'));

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.6.140.0030.05318.18
5.6.130.0100.05318.16
5.6.120.0130.06721.01
5.6.110.0030.04021.13
5.6.100.0000.04720.97
5.6.90.0030.04720.94
5.6.80.0000.08020.42
5.6.70.4000.03720.27
5.5.300.0070.05018.01
5.5.290.0100.05717.95
5.5.280.0070.07720.80
5.5.270.0130.04320.85
5.5.260.0100.06320.80
5.5.250.0030.07720.65
5.5.240.0030.04020.19
5.4.450.0700.07319.44
5.4.440.0570.06719.55
5.4.430.0070.07319.38
5.4.420.0200.05719.57
5.4.410.0130.06719.33
5.4.400.0200.07018.84
5.4.390.0270.05019.21
5.4.380.0200.05719.14
5.4.370.0700.04719.28
5.4.360.0630.08719.29
5.4.350.0130.06319.15
5.4.340.0230.06719.23
5.4.320.0630.05318.87
5.4.310.0570.06719.26
5.4.300.0700.06318.84
5.4.290.0700.05719.30
5.4.280.0600.05719.28
5.4.270.0470.06319.25
5.4.260.0630.05319.25
5.4.250.0570.07019.00
5.4.240.0500.05319.14
5.4.230.0570.06719.27
5.4.220.0500.05318.97
5.4.210.0700.06019.14
5.4.200.0570.05719.36
5.4.190.0430.05719.02
5.4.180.0530.05319.29
5.4.170.0530.06719.14
5.4.160.0570.05319.12
5.4.150.0430.08019.12
5.4.140.0530.06316.42
5.4.130.0670.05316.28
5.4.120.0600.05316.42
5.4.110.0670.06016.61
5.4.100.0600.07716.58
5.4.90.0770.04716.45
5.4.80.0700.05016.57
5.4.70.0700.07316.62
5.4.60.0770.05016.19
5.4.50.0630.08016.60
5.4.40.0630.05316.59
5.4.30.0530.06316.63
5.4.20.0630.06716.49
5.4.10.0630.08716.16
5.4.00.0670.06015.77

preferences:
143.66 ms | 1394 KiB | 7 Q