3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fmt = IntlDateFormatter::create('nl_NL', IntlDateFormatter::SHORT, IntlDateFormatter::NONE); echo $fmt->format(1234567890), "\n"; $fmt->setPattern(preg_replace('~y+~', 'y', $fmt->getPattern())); echo $fmt->format(1234567890), "\n";

preferences:
29.85 ms | 402 KiB | 5 Q