3v4l.org

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

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.10.0060.01016.68
7.4.00.0060.01115.88
7.3.130.0100.01016.34
7.3.120.0080.00815.54
7.3.110.0070.00715.63
7.3.100.0030.01315.68
7.3.90.0060.00915.64
7.3.80.0060.00815.79
7.3.70.0050.01015.78
7.3.60.0080.00915.59
7.3.50.0100.00315.64
7.3.40.0050.00915.72
7.3.30.0070.00615.70
7.3.20.0060.00816.61
7.3.10.0080.00716.62
7.3.00.0030.00916.34
7.2.260.0040.01516.69
7.2.250.0080.00816.01
7.2.240.0110.00415.87
7.2.230.0030.01116.01
7.2.220.0100.00515.94
7.2.210.0080.00815.99
7.2.200.0090.00815.71
7.2.190.0060.00915.93
7.2.180.0040.01115.84
7.2.170.0070.00915.78
7.2.160.0080.00316.72
7.2.150.0040.00818.38
7.2.140.0080.00518.46
7.2.130.0080.00518.53
7.2.120.0100.00018.55
7.2.110.0060.00918.61
7.2.100.0040.01418.55
7.2.90.0060.00918.50
7.2.80.0110.00418.56
7.2.70.0070.01018.41
7.2.60.0090.00618.47
7.2.50.0090.00618.31
7.2.40.0030.01418.51
7.2.30.0060.00618.59
7.2.20.0100.00318.38
7.2.10.0000.01118.38
7.2.00.0030.01318.50
7.1.330.0070.01014.08
7.1.320.0030.01114.33
7.1.310.0050.00914.24
7.1.300.0140.00014.14
7.1.290.0060.00914.02
7.1.280.0070.00714.21
7.1.270.0100.00313.96
7.1.260.0080.00614.22