3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(DateTime::createFromFormat('Y-m-d', '2022-21-01'),DateTime::getLastErrors());

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.4.20.0150.00018.16
8.4.10.0090.00623.64
8.3.150.0130.00618.79
8.3.140.0080.00017.07
8.3.130.0090.00018.46
8.3.120.0090.00020.77
8.3.110.0040.01116.62
8.3.100.0090.00024.06
8.3.90.0000.00826.77
8.3.80.0030.00617.97
8.3.70.0170.00318.43
8.3.60.0090.00916.62
8.3.50.0150.00016.73
8.3.40.0140.00320.34
8.3.30.0100.00720.31
8.3.20.0080.00024.18
8.3.10.0040.00424.66
8.3.00.0080.00026.16
8.2.270.0080.01117.40
8.2.260.0030.00518.40
8.2.250.0070.00717.28
8.2.240.0030.00616.95
8.2.230.0080.00020.94
8.2.220.0100.01037.54
8.2.210.0000.00826.77
8.2.200.0060.00316.63
8.2.190.0090.00616.63
8.2.180.0060.01616.50
8.2.170.0140.00018.95
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0080.00022.15
8.2.110.0090.00019.45
8.2.100.0040.00817.68
8.2.90.0030.00618.22
8.2.80.0040.00418.96
8.2.70.0110.01048.97
8.2.60.0200.00249.13
8.2.50.0150.00548.97
8.2.40.0160.00548.97
8.2.30.0130.00748.97
8.2.20.0140.00648.97
8.2.10.0100.00848.97
8.2.00.0170.00248.97
8.1.310.0080.00016.65
8.1.300.0070.00719.83
8.1.290.0120.00030.84
8.1.280.0050.01025.92
8.1.270.0040.00424.66
8.1.260.0070.00726.35
8.1.250.0070.00028.09
8.1.240.0040.00422.24
8.1.230.0040.00721.01
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0120.00648.97
8.1.190.0190.00248.97
8.1.180.0140.00648.97
8.1.170.0160.00248.97
8.1.160.0070.01048.97
8.1.150.0120.00748.97
8.1.140.0170.00248.97
8.1.130.0150.00448.97
8.1.120.0140.00548.97
8.1.110.0100.00948.97
8.1.100.0130.00548.97
8.1.90.0110.00748.97
8.1.80.0170.00248.97
8.1.70.0150.00248.97
8.1.60.0160.00348.97
8.1.50.0080.01248.97
8.1.40.0170.00448.97
8.1.30.0160.00548.97
8.1.20.0120.00848.97
8.1.10.0120.00948.97
8.1.00.0160.00348.97
8.0.300.0040.00420.21
8.0.290.0150.00448.97
8.0.280.0130.00548.97
8.0.270.0140.00548.97
8.0.260.0110.00748.97
8.0.250.0110.00948.97
8.0.240.0110.00948.97
8.0.230.0160.00148.97
8.0.220.0140.00448.97
8.0.210.0150.00348.97
8.0.200.0150.00548.97
8.0.190.0160.00248.97
8.0.180.0160.00348.97
8.0.170.0150.00348.97
8.0.160.0110.00748.97
8.0.150.0180.00048.97
8.0.140.0120.00748.97
8.0.130.0100.00848.97
8.0.120.0120.00748.97
8.0.110.0160.00248.97
8.0.100.0140.00648.97
8.0.90.0140.00448.97
8.0.80.0130.00548.97
8.0.70.0100.00848.97
8.0.60.0100.00748.97
8.0.50.0140.00448.97
8.0.30.0140.00448.97
8.0.20.0170.00148.97
8.0.10.0090.00848.97

preferences:
28.93 ms | 403 KiB | 5 Q