3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(IntlCalendar::createInstance(null, 'sdfd'));
Output for git.master
object(IntlGregorianCalendar)#1 (5) { ["valid"]=> bool(true) ["type"]=> string(9) "gregorian" ["timeZone"]=> array(4) { ["valid"]=> bool(true) ["id"]=> string(16) "Europe/Amsterdam" ["rawOffset"]=> int(3600000) ["currentOffset"]=> int(7200000) } ["locale"]=> string(11) "en_US_POSIX" ["fields"]=> array(23) { ["era"]=> int(1) ["year"]=> int(2022) ["month"]=> int(8) ["week of year"]=> int(37) ["week of month"]=> int(2) ["day of year"]=> int(253) ["day of month"]=> int(10) ["day of week"]=> int(7) ["day of week in month"]=> int(2) ["AM/PM"]=> int(1) ["hour"]=> int(5) ["hour of day"]=> int(17) ["minute"]=> int(28) ["second"]=> int(15) ["millisecond"]=> int(800) ["zone offset"]=> int(3600000) ["DST offset"]=> int(3600000) ["year for week of year"]=> int(2022) ["localized day of week"]=> int(6) ["extended year"]=> int(2022) ["julian day"]=> int(2459833) ["milliseconds in day"]=> int(62895800) ["is leap month"]=> int(0) } }
Output for git.master_jit
object(IntlGregorianCalendar)#1 (5) { ["valid"]=> bool(true) ["type"]=> string(9) "gregorian" ["timeZone"]=> array(4) { ["valid"]=> bool(true) ["id"]=> string(16) "Europe/Amsterdam" ["rawOffset"]=> int(3600000) ["currentOffset"]=> int(7200000) } ["locale"]=> string(11) "en_US_POSIX" ["fields"]=> array(23) { ["era"]=> int(1) ["year"]=> int(2022) ["month"]=> int(9) ["week of year"]=> int(41) ["week of month"]=> int(2) ["day of year"]=> int(276) ["day of month"]=> int(3) ["day of week"]=> int(2) ["day of week in month"]=> int(1) ["AM/PM"]=> int(0) ["hour"]=> int(4) ["hour of day"]=> int(4) ["minute"]=> int(17) ["second"]=> int(14) ["millisecond"]=> int(237) ["zone offset"]=> int(3600000) ["DST offset"]=> int(3600000) ["year for week of year"]=> int(2022) ["localized day of week"]=> int(1) ["extended year"]=> int(2022) ["julian day"]=> int(2459856) ["milliseconds in day"]=> int(15434237) ["is leap month"]=> int(0) } }
Output for rfc.property-hooks
object(IntlGregorianCalendar)#1 (5) { ["valid"]=> bool(true) ["type"]=> string(9) "gregorian" ["timeZone"]=> array(4) { ["valid"]=> bool(true) ["id"]=> string(16) "Europe/Amsterdam" ["rawOffset"]=> int(3600000) ["currentOffset"]=> int(3600000) } ["locale"]=> string(11) "en_US_POSIX" ["fields"]=> array(23) { ["era"]=> int(1) ["year"]=> int(2023) ["month"]=> int(10) ["week of year"]=> int(49) ["week of month"]=> int(5) ["day of year"]=> int(333) ["day of month"]=> int(29) ["day of week"]=> int(4) ["day of week in month"]=> int(5) ["AM/PM"]=> int(1) ["hour"]=> int(3) ["hour of day"]=> int(15) ["minute"]=> int(48) ["second"]=> int(2) ["millisecond"]=> int(281) ["zone offset"]=> int(3600000) ["DST offset"]=> int(0) ["year for week of year"]=> int(2023) ["localized day of week"]=> int(3) ["extended year"]=> int(2023) ["julian day"]=> int(2460278) ["milliseconds in day"]=> int(56882281) ["is leap month"]=> int(0) } }

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:
60.26 ms | 403 KiB | 8 Q