3v4l.org

run code in 300+ PHP versions simultaneously
<?php $f1 = new IntlDateFormatter(\Locale::getDefault(), 1, \IntlDateFormatter::NONE); var_dump($f1); $f2 = new IntlDateFormatter(\Locale::getDefault(), 1, \IntlDateFormatter::NONE, \DateTimeZone::UTC); var_dump($f2); $f3 = new IntlDateFormatter(\Locale::getDefault(), 1, \IntlDateFormatter::NONE, \DateTimeZone::EUROPE); var_dump($f3);
Output for git.master_jit, git.master, rfc.property-hooks
object(IntlDateFormatter)#1 (0) { } Fatal error: Uncaught IntlException: datefmt_create: No such time zone: '1024': U_ILLEGAL_ARGUMENT_ERROR in /in/hC1MO:6 Stack trace: #0 /in/hC1MO(6): IntlDateFormatter->__construct('en_US_POSIX', 1, -1, '1024') #1 {main} thrown in /in/hC1MO on line 6
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
34.1 ms | 406 KiB | 5 Q