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.0000.00717.07
8.0.100.0040.00416.78
8.0.90.0080.00017.00
8.0.80.0030.01516.98
8.0.70.0050.00316.77
8.0.60.0070.00017.03
8.0.50.0080.00016.83
8.0.30.0080.00917.12
8.0.20.0100.00817.40
8.0.10.0000.00716.92
8.0.00.0110.00716.63
7.4.240.0030.00416.50
7.4.230.0000.00716.70
7.4.220.0110.00716.63
7.4.210.0030.01716.46
7.4.200.0070.00016.40
7.4.160.0080.01016.57
7.4.150.0100.00717.40
7.4.140.0100.00917.86
7.4.130.0140.00716.48
7.4.120.0100.01116.53
7.4.110.0090.00916.37
7.4.100.0140.00416.56
7.4.90.0140.00316.51
7.4.80.0070.01019.39
7.4.70.0090.00616.58
7.4.60.0080.00816.71
7.4.50.0000.01516.51
7.4.40.0180.00316.55
7.4.30.0040.01216.54
7.4.00.0050.00815.36
7.3.310.0000.00716.40
7.3.300.0040.00416.25
7.3.290.0050.00916.32
7.3.280.0070.00816.29
7.3.270.0100.00717.40
7.3.260.0090.00716.41
7.3.250.0110.00816.31
7.3.240.0070.01016.41
7.3.230.0130.00416.28
7.3.210.0130.00716.39
7.3.200.0070.01516.33
7.3.190.0040.01216.33
7.3.180.0160.00016.50
7.3.170.0060.01516.50
7.3.160.0130.00316.58
7.3.10.0100.00316.48
7.3.00.0060.00616.61
7.2.330.0110.00716.56
7.2.320.0090.00916.61
7.2.310.0060.01016.68
7.2.300.0120.00916.34
7.2.290.0090.00616.62
7.2.130.0040.01117.16
7.2.120.0030.01217.01
7.2.110.0030.01017.02
7.2.100.0090.00916.96
7.2.90.0030.01217.17
7.2.80.0000.01216.77
7.2.70.0060.00917.04
7.2.60.0100.00316.85
7.2.50.0070.00716.63
7.2.40.0030.00516.82
7.2.30.0030.00916.57
7.2.20.0000.00816.91
7.2.10.0090.00616.99
7.2.00.0060.00618.14
7.1.250.0030.01015.88
7.1.200.0000.01115.51
7.1.100.0100.00318.05
7.1.70.0080.00917.27
7.1.60.0180.01735.11
7.1.50.0200.01534.66
7.1.40.0160.01934.48
7.1.30.0200.01634.44
7.1.20.0180.01734.77
7.1.10.0070.01216.52
7.1.00.0040.01416.71
7.0.200.0100.00716.86
7.0.190.0130.00316.90
7.0.180.0090.00916.34
7.0.170.0030.01316.39
7.0.160.0010.01516.29
7.0.150.0040.01416.46
7.0.140.0040.01316.08
7.0.130.0030.01516.52
7.0.120.0060.01016.43
7.0.110.0060.01216.41
7.0.100.0090.00916.31
7.0.90.0070.00716.27
7.0.80.0090.00616.35
7.0.70.0040.01116.29
7.0.60.0030.01416.18
7.0.50.0050.01216.27
7.0.40.0080.00816.44
7.0.30.0060.01216.39
7.0.20.0120.00516.45
7.0.10.0040.01216.36
7.0.00.0080.00816.34

preferences:
33.5 ms | 400 KiB | 5 Q