3v4l.org

run code in 200+ PHP versions simultaneously
<?php echo (new DateTime())->format('Y-m-d::H-m-s');
based on MSVuS
Output for 7.2.0 - 7.4.1
2020-01-21::16-01-01