Instead of using this function to set the default timezone in your script, you can also use the INI setting date.timezone to ...
php.net