3v4l.org

run code in 500+ PHP versions simultaneously
<?php // Now $time = time(); // Date you want $date = new DateTime('2014-09-18'); $newTime = $date->format('U'); // Copy paste the result into the command below echo ($time - $newTime) * 1000;

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)
8.0.00.0290.00517.25
7.4.330.0100.00816.97
7.3.100.0090.00914.82
7.3.90.0030.01015.04
7.3.80.0030.01015.08
7.3.70.0030.00914.81
7.3.60.0100.00714.88
7.3.50.0060.01315.02
7.3.40.0090.00914.95
7.3.30.0100.00914.59
7.3.20.0070.00716.88
7.3.10.0090.00616.82
7.3.00.0090.00616.60
7.2.230.0080.00614.78
7.2.220.0100.00314.69
7.2.210.0000.01415.05
7.2.200.0030.01115.25
7.2.190.0070.01314.93
7.2.180.0110.00814.83
7.2.170.0150.00615.13
7.2.160.0130.00715.07
7.2.150.0120.00317.06
7.2.140.0080.00616.96
7.2.130.0080.00516.82
7.2.120.0140.00016.70
7.2.110.0110.00316.86
7.2.100.0030.01016.83
7.2.90.0030.01317.18
7.2.80.0110.00416.97
7.2.70.0100.00316.70
7.2.60.0130.00016.85
7.2.50.0040.01017.09
7.2.40.0080.00517.06
7.2.30.0110.00417.01
7.2.20.0000.01317.05
7.2.10.0110.00316.91
7.2.00.0110.00216.89
7.1.320.0140.00016.05
7.1.310.0070.00615.79
7.1.300.0070.01115.84
7.1.290.0040.01315.85
7.1.280.0130.00615.77
7.1.270.0090.00615.89
7.1.260.0090.00415.76
7.1.250.0030.01015.88

preferences:
57.09 ms | 659 KiB | 5 Q