3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "ALL:", PHP_EOL; echo count(DateTimeZone::listIdentifiers(DateTimeZone::ALL)); echo PHP_EOL, "PER_COUNTRY:", PHP_EOL; echo count(DateTimeZone::listIdentifiers(DateTimeZone::PER_COUNTRY)); echo PHP_EOL, "ALL_WITH_BC:", PHP_EOL; echo count(DateTimeZone::listIdentifiers(DateTimeZone::ALL_WITH_BC)); echo PHP_EOL;
Output for git.master
ALL: 425 PER_COUNTRY: Fatal error: Uncaught ValueError: DateTimeZone::listIdentifiers(): Argument #2 ($countryCode) must be a two-letter ISO 3166-1 compatible country code when argument #1 ($timezoneGroup) is DateTimeZone::PER_COUNTRY in /in/AAueA:5 Stack trace: #0 /in/AAueA(5): DateTimeZone::listIdentifiers(4096) #1 {main} thrown in /in/AAueA on line 5
Process exited with code 255.
Output for git.master_jit
ALL: 423 PER_COUNTRY: Fatal error: Uncaught ValueError: DateTimeZone::listIdentifiers(): Argument #2 ($countryCode) must be a two-letter ISO 3166-1 compatible country code when argument #1 ($timezoneGroup) is DateTimeZone::PER_COUNTRY in /in/AAueA:5 Stack trace: #0 /in/AAueA(5): DateTimeZone::listIdentifiers(4096) #1 {main} thrown in /in/AAueA on line 5
Process exited with code 255.
Output for rfc.property-hooks
ALL: 419 PER_COUNTRY: Fatal error: Uncaught ValueError: DateTimeZone::listIdentifiers(): Argument #2 ($countryCode) must be a two-letter ISO 3166-1 compatible country code when argument #1 ($timezoneGroup) is DateTimeZone::PER_COUNTRY in /in/AAueA:5 Stack trace: #0 /in/AAueA(5): DateTimeZone::listIdentifiers(4096) #1 {main} thrown in /in/AAueA on line 5
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:
61.75 ms | 401 KiB | 8 Q