3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new \DateTime('2017-12-31 23:59:59.999999'); echo $date->format('Y-m-d H:i:s.u'); echo "\n"; echo $date->modify('+9000001 microsecond')->format('Y-m-d H:i:s.u');

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.30.0090.00817.29
8.0.20.0100.00917.43
8.0.00.0070.01116.94
7.4.160.0110.00716.82
7.4.140.0050.01417.86
7.4.130.0070.01016.50
7.4.120.0090.00916.80
7.4.110.0090.00916.72
7.4.100.0120.01016.57
7.4.90.0110.00816.84
7.4.80.0100.01619.39
7.4.70.0090.00616.62
7.4.60.0090.00916.79
7.4.50.0080.00816.90
7.4.40.0080.00816.58
7.4.00.0040.01515.32
7.3.280.0080.00616.42
7.3.260.0160.00616.62
7.3.250.0120.00816.62
7.3.240.0080.00916.53
7.3.230.0060.01016.35
7.3.210.0070.01416.91
7.3.200.0060.01516.71
7.3.190.0120.00916.62
7.3.180.0120.01216.72
7.3.170.0080.00816.57
7.3.160.0090.00616.50
7.3.120.0000.01715.40
7.3.110.0130.00615.36
7.3.100.0110.00314.99
7.3.90.0000.01515.02
7.3.80.0070.00714.93
7.3.70.0150.00015.08
7.3.60.0000.01415.14
7.3.50.0060.00914.94
7.3.40.0000.01714.90
7.3.30.0030.01215.03
7.3.20.0070.00316.77
7.3.10.0070.00717.08
7.3.00.0070.00316.92
7.2.330.0000.01716.70
7.2.320.0160.00616.83
7.2.310.0070.01116.78
7.2.300.0070.01016.77
7.2.290.0040.01416.96
7.2.240.0080.01115.13
7.2.230.0060.01015.44
7.2.220.0000.00915.22
7.2.210.0100.00315.25
7.2.200.0060.00915.26
7.2.190.0030.00615.38
7.2.180.0040.01115.17
7.2.170.0080.00915.33
7.2.160.0110.00315.33
7.2.150.0030.01517.29
7.2.140.0070.01017.07
7.2.130.0030.00617.29
7.2.120.0040.00717.08
7.2.110.0030.01017.10
7.2.100.0030.01216.82
7.2.90.0060.00316.98
7.2.80.0090.00617.12
7.2.70.0100.00717.13
7.2.60.0020.01017.12
7.2.50.0100.00017.09
7.2.40.0100.00317.29
7.2.30.0130.01017.95
7.2.20.0110.01017.79
7.2.10.0090.01117.72
7.2.00.0120.00917.63
7.1.330.0040.01415.86
7.1.320.0090.00315.84
7.1.310.0030.00915.95
7.1.300.0060.00615.57
7.1.290.0000.01415.98
7.1.280.0060.00616.00
7.1.270.0090.00315.64
7.1.260.0070.00715.58
7.1.250.0070.00715.88
7.1.200.0000.01115.60
7.1.150.0140.00816.75
7.1.140.0210.01016.88
7.1.130.0160.00916.68
7.1.120.0140.01217.02
7.1.110.0110.01215.99
7.1.100.0140.01216.27
7.1.90.0160.01316.44
7.1.80.0180.01316.17
7.1.70.0120.01215.32
7.1.60.0510.01933.34
7.1.50.0380.01633.09
7.1.40.0330.01432.75
7.1.30.0360.01632.44
7.1.20.0410.02032.73
7.1.10.0160.01014.85
7.1.00.0150.01014.82