1--TEST-- 2date_default_timezone_get() function [2] 3--SKIPIF-- 4<?php 5 if(substr(PHP_OS, 0, 3) == 'WIN') die("skip on windows"); 6?> 7--INI-- 8date.timezone= 9--FILE-- 10<?php 11 putenv('TZ='); 12 echo date_default_timezone_get(), "\n"; 13?> 14--EXPECT-- 15Warning: PHP Startup: Invalid date.timezone value '', using 'UTC' instead in Unknown on line 0 16UTC 17