3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = 'Feb 11, 2023'; $date_format = 'Y-m-d H:i:s'; echo (new DateTime($start))->format($date_format);

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.3.130.0040.00418.44
8.3.120.0040.00418.89
8.3.110.0060.01320.94
8.3.100.0080.00016.60
8.3.90.0140.00026.77
8.3.80.0030.00617.97
8.3.70.0110.00716.63
8.3.60.0070.01018.43
8.3.50.0120.00616.54
8.3.40.0090.00919.99
8.3.30.0090.00618.69
8.3.20.0090.00024.18
8.3.10.0040.00424.66
8.3.00.0060.00326.16
8.2.250.0110.00416.42
8.2.240.0030.00618.84
8.2.230.0080.00022.58
8.2.220.0110.00724.06
8.2.210.0000.00826.77
8.2.200.0000.00917.00
8.2.190.0120.00918.34
8.2.180.0110.00716.63
8.2.170.0150.00018.91
8.2.160.0120.00322.96
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0070.00021.11
8.2.110.0030.00621.89
8.2.100.0070.00419.06
8.1.300.0050.00316.41
8.1.290.0000.01330.84
8.1.280.0090.00625.92
8.1.270.0040.00424.66
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0000.01018.49
8.1.230.0030.00618.76
5.6.00.0080.00219.52
5.4.00.0070.00119.52
5.3.90.0060.00219.52
5.3.30.0030.00419.52

preferences:
26.52 ms | 403 KiB | 5 Q