3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tz = IntlTimeZone::getUnknown(); var_dump(intltz_to_date_time_zone($tz), $tz->toDateTimeZone());
Output for git.master_jit, git.master, rfc.property-hooks
Fatal error: Uncaught DateInvalidTimeZoneException: DateTimeZone::__construct(): Unknown or bad timezone (Etc/Unknown) in /in/NLRiO:3 Stack trace: #0 [internal function]: DateTimeZone->__construct('Etc/Unknown') #1 /in/NLRiO(3): intltz_to_date_time_zone(Object(IntlTimeZone)) #2 {main} thrown in /in/NLRiO on line 3
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:
26.23 ms | 405 KiB | 5 Q