3v4l.org

run code in 300+ PHP versions simultaneously
<?php $row['date'] = '2024-5-28'; $date = $cal = IntlCalendar::fromDateTime($row['date']); echo IntlDateFormatter::formatObject($cal, "d MMMM Y", 'sv_SE');
Output for 8.5.1 - 8.5.3
Fatal error: Uncaught Error: Class "IntlCalendar" not found in /in/NWRBj:5 Stack trace: #0 {main} thrown in /in/NWRBj on line 5
Process exited with code 255.
Output for 8.1.0 - 8.1.34, 8.2.0 - 8.2.30, 8.3.0 - 8.3.30, 8.4.1 - 8.4.18, 8.5.0
28 maj 2024

preferences:
67.52 ms | 979 KiB | 4 Q