3v4l.org

run code in 300+ PHP versions simultaneously
<?php $zone = timezone_name_from_abbr('', -43200, false); if ($zone === false) { foreach (timezone_abbreviations_list() as $abbr) { foreach ($abbr as $city) { if ((bool) $city['dst'] === false && strlen($city['timezone_id']) > 0 && $city['offset'] == -43200) { //$zone = $city['timezone_id']; $zone = $city; break; } } if ($zone !== false) { break; } } } var_dump($zone);
Output for git.master, git.master_jit, rfc.property-hooks
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/uVhEY on line 9 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/uVhEY on line 9 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/uVhEY on line 9 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/uVhEY on line 9 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/uVhEY on line 9 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/uVhEY on line 9 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/uVhEY on line 9 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/uVhEY on line 9 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/uVhEY on line 9 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/uVhEY on line 9 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/uVhEY on line 9 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/uVhEY on line 9 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/uVhEY on line 9 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/uVhEY on line 9 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/uVhEY on line 9 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/uVhEY on line 9 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/uVhEY on line 9 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/uVhEY on line 9 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/uVhEY on line 9 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/uVhEY on line 9 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/uVhEY on line 9 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/uVhEY on line 9 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/uVhEY on line 9 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/uVhEY on line 9 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/uVhEY on line 9 bool(false)

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:
33.4 ms | 409 KiB | 8 Q