3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('Y-m-d H:i:s T'); $d = new \Datetime("2021-07-15 10:44:05.574478");
Output for 7.3.0 - 7.3.29, 7.4.0 - 7.4.21, 8.0.0 - 8.0.8
2021-07-22 10:50:56 CEST

preferences:
202.64 ms | 459 KiB | 5 Q