3v4l.org

run code in 300+ PHP versions simultaneously
<?php $formatter = new IntlDateFormatter( 'nl_NL', IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'Europe/Amsterdam', IntlDateFormatter::GREGORIAN, "Y" ); echo $formatter->format( new DateTime('2017-12-31 12:00:00', new DateTimeZone('Europe/Amsterdam')) );

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
152.82 ms | 2539 KiB | 8 Q