3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(count(\DateTimeZone::listIdentifiers())); var_dump(count(timezone_identifiers_list())); $zonelist = timezone_identifiers_list(); $zones = array(); foreach ($zonelist as $zone) { if (preg_match('!^((Africa|America|Antarctica|Arctic|Asia|Atlantic|Australia|Europe|Indian|Pacific)/|UTC$)!', $zone)) { $zones[$zone] = $zone; } } var_dump(count($zones));
Output for git.master
int(425) int(425) int(425)
Output for git.master_jit
int(423) int(423) int(423)
Output for rfc.property-hooks
int(419) int(419) int(419)

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:
176.35 ms | 407 KiB | 5 Q