3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo (new \DateTime())->format('d-m-Y-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.110.0040.00416.97
8.0.100.0000.00817.02
8.0.90.0070.00016.92
8.0.80.0100.01016.89
8.0.70.0000.00716.94
8.0.60.0000.00716.79
8.0.50.0000.00816.88
8.0.30.0110.00817.12
8.0.20.0110.00917.40
8.0.10.0000.00817.11
8.0.00.0060.01116.81
7.4.240.0000.00816.57
7.4.230.0000.00716.41
7.4.220.0070.01116.52
7.4.210.0050.00916.58
7.4.200.0000.00716.60
7.4.160.0110.00516.47
7.4.150.0070.01017.40
7.4.140.0140.00717.86
7.4.130.0090.00916.66
7.4.120.0080.01016.60
7.4.110.0130.00316.58
7.4.100.0110.00716.63
7.4.90.0150.00316.60
7.4.80.0060.01019.39
7.4.70.0090.01216.50
7.4.60.0070.01016.56
7.4.50.0070.01116.75
7.4.40.0150.00016.70
7.4.30.0100.00716.74
7.4.00.0040.00814.89
7.3.310.0000.00716.36
7.3.300.0060.00016.30
7.3.290.0060.00016.17
7.3.280.0050.00916.31
7.3.270.0090.00917.40
7.3.260.0080.01016.52
7.3.250.0120.00616.43
7.3.240.0070.01116.55
7.3.230.0090.00916.50
7.3.210.0130.00316.48
7.3.200.0040.01416.44
7.3.190.0090.00916.64
7.3.180.0130.00916.36
7.3.170.0100.01016.66
7.3.160.0130.00316.29
7.3.10.0060.00616.75
7.3.00.0040.00816.82
7.2.330.0090.00916.78
7.2.320.0070.01016.80
7.2.310.0040.01416.72
7.2.300.0090.01216.68
7.2.290.0140.00316.61
7.2.130.0040.00416.79
7.2.120.0140.00016.92
7.2.110.0040.00816.89
7.2.100.0060.00616.83
7.2.90.0030.01016.85
7.2.80.0090.00616.76
7.2.70.0070.00616.54
7.2.60.0120.00216.89
7.2.50.0000.01416.96
7.2.40.0040.01117.12
7.2.30.0000.01416.85
7.2.20.0050.00516.91
7.2.10.0040.00816.98
7.2.00.0050.00517.99
7.1.250.0000.01115.84
7.1.200.0040.00815.66
7.1.100.0060.01018.06
7.1.70.0030.01317.28
7.1.60.0250.00934.98
7.1.50.0210.01034.86
7.1.40.0250.01934.41
7.1.30.0310.01134.45
7.1.20.0270.01334.46
7.1.10.0070.01216.61
7.1.00.0110.00916.54
7.0.200.0020.01216.96
7.0.190.0100.00516.70
7.0.180.0000.01416.34
7.0.170.0030.01316.32
7.0.160.0080.01116.39
7.0.150.0080.00516.34
7.0.140.0000.01616.39
7.0.130.0200.00516.54
7.0.120.0120.00916.58
7.0.110.0100.00616.29
7.0.100.0080.01316.52
7.0.90.0050.01316.37
7.0.80.0070.00916.43
7.0.70.0170.00316.25
7.0.60.0060.01116.16
7.0.50.0060.01116.23
7.0.40.0030.01316.37
7.0.30.0060.01016.55
7.0.20.0140.00416.46
7.0.10.0070.01016.46
7.0.00.0120.00516.34

preferences:
39.6 ms | 400 KiB | 5 Q