3v4l.org

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

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
157.98 ms | 2122 KiB | 10 Q