run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(ini_set('date.timezone', 'JST'));
Output for 7.0.0 - 7.2.0
Warning: ini_set(): Invalid date.timezone value 'JST', we selected the timezone 'UTC' for now. in /in/u5fbW on line 2 string(16) "Europe/Amsterdam"
Output for 5.4.12 - 5.6.28
Warning: ini_set(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. in /in/u5fbW on line 2 string(16) "Europe/Amsterdam"
Output for 5.1.0 - 5.4.11
string(16) "Europe/Amsterdam"
Output for 4.3.0 - 5.0.5