3v4l.org

run code in 500+ PHP versions simultaneously
<?php $timestamp = new DateTimeImmutable()->format(DATE_ATOM);
Output for 8.4.1 - 8.4.13
Output for 8.2.0 - 8.2.36, 8.3.0 - 8.3.26
Parse error: syntax error, unexpected token "->" in /in/MtjXX on line 3
Process exited with code 255.

preferences:
25.52 ms | 1166 KiB | 5 Q