3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php foreach(array("Asia/Chita") as $tz) {echo $tz,"=", (int)in_array($tz, timezone_identifiers_list()), "\n";}
based on j1kGV
Output for 5.4.34 - 7.2.0
Asia/Chita=1
Output for 5.2.0 - 5.4.32
Asia/Chita=0
Output for 5.0.0 - 5.1.6
Asia/Chita= Fatal error: Call to undefined function timezone_identifiers_list() in /in/2AMgT on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Asia/Chita= Fatal error: Call to undefined function: timezone_identifiers_list() in /in/2AMgT on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Asia/Chita= Fatal error: Call to undefined function: timezone_identifiers_list() in /in/2AMgT on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Asia/Chita= Fatal error: Call to undefined function: timezone_identifiers_list() in /in/2AMgT on line 2