3v4l.org

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

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
162.52 ms | 2243 KiB | 10 Q