3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = new Datetime(time()); var_dump($time);

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.0040.01815.10
7.3.120.0170.00015.05
7.3.110.0120.00315.04
7.3.100.0030.01314.90
7.3.90.0090.00314.96
7.3.80.0000.01514.79
7.3.70.0040.00414.78
7.3.60.0030.00914.80
7.3.50.0140.00014.63
7.3.40.0040.01114.60
7.3.30.0030.01014.76
7.3.20.0120.00316.80
7.3.10.0080.00316.48
7.3.00.0090.00516.63
7.2.250.0050.00814.76
7.2.240.0150.00315.20
7.2.230.0030.01215.07
7.2.220.0040.00815.14
7.2.210.0110.00415.05
7.2.200.0070.01115.04
7.2.190.0070.00715.06
7.2.180.0040.01215.00
7.2.170.0080.00415.06
7.2.130.0030.01416.96
7.2.120.0070.01016.89
7.2.110.0060.00316.73
7.2.100.0030.00716.96
7.2.90.0100.00017.08
7.2.80.0070.00317.02
7.2.70.0040.00717.00
7.2.60.0100.00616.87
7.2.50.0040.00717.00
7.2.40.0050.00616.99
7.2.30.0030.00916.91
7.2.20.0000.01316.84
7.2.10.0030.00917.05
7.2.00.0100.00518.23
7.1.330.0060.01015.66
7.1.320.0090.00316.02
7.1.310.0000.00815.82
7.1.300.0060.00315.78
7.1.290.0050.00515.74
7.1.280.0000.01115.85
7.1.270.0070.00715.88
7.1.260.0040.01215.95
7.1.250.0070.01015.77
7.1.200.0230.01115.52
7.1.100.0320.00917.82
7.1.70.0050.00217.34
7.1.60.0070.01019.30
7.1.50.0030.01416.98
7.1.00.0000.08022.57
7.0.200.0000.00816.82
7.0.90.0130.08019.93
7.0.80.0100.07719.92
7.0.70.0130.08719.90
7.0.60.0200.06319.96
7.0.50.0230.07720.27
7.0.40.0100.05320.14
7.0.30.0100.08720.04
7.0.20.0100.08720.18
7.0.10.0070.07720.07
7.0.00.0100.08720.10
5.6.280.0030.04020.89
5.6.240.0030.09320.62
5.6.230.0100.08020.68
5.6.220.0200.07720.54
5.6.210.0170.07020.61
5.6.200.0130.08021.03
5.6.190.0070.08721.13
5.6.180.0100.08021.02
5.6.170.0030.08321.11
5.6.160.0070.09721.16
5.6.150.0030.06721.03
5.6.140.0070.09021.01
5.6.130.0100.07021.04
5.6.120.0100.08021.06
5.6.110.0070.06321.09
5.6.100.0170.08021.09
5.6.90.0100.04320.99
5.6.80.0070.08020.33
5.6.70.0000.09320.30
5.6.60.0070.08320.30
5.6.50.0100.08320.45
5.6.40.0070.06020.39
5.6.30.0030.09020.46
5.6.20.0030.05720.43
5.6.10.0100.07020.46
5.6.00.0070.08320.38
5.5.380.0100.04020.36
5.5.370.0070.08320.38
5.5.360.0030.08020.49
5.5.350.0070.06020.48
5.5.340.0070.08720.93
5.5.330.0130.07720.82
5.5.320.0130.07320.85
5.5.310.0100.05020.88
5.5.300.0030.08020.91
5.5.290.0100.06320.75
5.5.280.0230.07720.75
5.5.270.0000.05720.86
5.5.260.0100.07020.75
5.5.250.0100.06720.65
5.5.240.0030.06720.30
5.5.230.0170.07320.29
5.5.220.0070.07320.14
5.5.210.0100.06720.25
5.5.200.0130.07020.25
5.5.190.0130.07320.27
5.5.180.0170.06720.10
5.5.160.0070.07720.11
5.5.150.0170.07720.17
5.5.140.0070.07320.27
5.5.130.0100.08320.12
5.5.120.0130.07320.26
5.5.110.0030.04319.97
5.5.100.0070.07320.06
5.5.90.0070.08020.12
5.5.80.0130.05020.14
5.5.70.0100.05020.11
5.5.60.0070.07020.04
5.5.50.0130.06719.96
5.5.40.0030.08320.04
5.5.30.0130.06719.98
5.5.20.0070.08019.97
5.5.10.0070.08020.02
5.5.00.0170.07320.10

preferences:
34.38 ms | 400 KiB | 5 Q