3v4l.org

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

preferences:
52.58 ms | 404 KiB | 5 Q