3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dateFormat = "d.M.Y, HH:mm"; $formatter = new IntlDateFormatter("de_DE", IntlDateFormatter::SHORT, IntlDateFormatter::SHORT, null, IntlDateFormatter::TRADITIONAL, $dateFormat); echo $formatter->format(1673783541);
Output for 8.5.0 - 8.5.3
Fatal error: Uncaught Error: Class "IntlDateFormatter" not found in /in/SUh6Y:4 Stack trace: #0 {main} thrown in /in/SUh6Y on line 4
Process exited with code 255.
Output for 8.0.1 - 8.0.30, 8.1.0 - 8.1.34, 8.2.0 - 8.2.30, 8.3.0 - 8.3.30, 8.4.1 - 8.4.18
15.1.2023, 12:52

preferences:
53.63 ms | 1111 KiB | 4 Q