3v4l.org

run code in 200+ PHP versions simultaneously
<?php echo (new DateTime())->format('Y-m-d::H-i-s');
based on 8dP6l
Output for 7.2.0 - 7.3.2, 7.3.4 - 7.4.1
2020-01-21::16-39-19
Output for 7.3.3
2020-01-21::16-39-20