3v4l.org

run code in 200+ PHP versions simultaneously
<?php $b = (new \DateTime((new \DateTimeImmutable())->modify("next Monday")->format("Y-m-d H:i:s"))); var_dump($a, $b, $c);
based on bjqZh

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.0120.00315.37
7.3.120.0030.01014.90
7.3.110.0080.01114.70
7.3.100.0140.00015.02
7.3.90.0000.01514.90
7.3.80.0090.01215.06
7.3.70.0110.00915.06
7.3.60.0070.00714.95
7.3.50.0140.00014.91
7.3.40.0050.00814.82
7.3.30.0140.00014.71
7.3.20.0090.01214.96
7.3.10.0420.00714.83
7.3.00.0140.00015.05
7.2.250.0090.00614.91
7.2.240.0030.01315.07
7.2.230.0040.01215.03
7.2.220.0000.01515.05
7.2.210.0040.01214.68
7.2.200.0120.00414.97
7.2.190.0040.01714.86
7.2.180.0070.01015.06
7.2.170.0130.00814.86
7.1.330.0040.01614.10
7.1.320.0100.00514.00
7.1.310.0150.00613.66
7.1.300.0040.01214.13
7.1.290.0090.00613.93
7.1.280.0120.00313.96
7.1.270.0130.00713.93
7.1.260.0100.00313.99