3v4l.org

run code in 300+ PHP versions simultaneously
<?php $formatter = new IntlDateFormatter("en-GB", IntlDateFormatter::NONE, IntlDateFormatter::NONE, 'UTC', null, 'yyyy-MM-dd'); $position = 0; $parsedDate = $formatter->parse("2017-08-12", $position); var_dump($parsedDate, $position);

preferences:
53.79 ms | 402 KiB | 5 Q