--TEST-- Bug #8912: putenv() causes crashes in DateTimeZone::inDaylightTime() under windows --FILE-- getTime() . "\n"; $timezone = new Date_TimeZone($state); $new_date->setTZ($originalTimezone); $new_date->convertTZ($timezone); print $state . ': ' . $new_date->getTime() . "\n"; print "\n"; } ?> --EXPECT-- Original Time (Australia/Adelaide): (timestamp) Australia/Adelaide: (timestamp) Original Time (Australia/Adelaide): (timestamp) Australia/Canberra: (timestamp) Original Time (Australia/Adelaide): (timestamp) Australia/Darwin: (timestamp) Original Time (Australia/Adelaide): (timestamp) Australia/Brisbane: (timestamp) Original Time (Australia/Adelaide): (timestamp) Australia/Hobart: (timestamp) Original Time (Australia/Adelaide): (timestamp) Australia/Melbourne: (timestamp) Original Time (Australia/Adelaide): (timestamp) Australia/Perth: (timestamp) Original Time (Australia/Adelaide): (timestamp) Australia/Sydney: (timestamp)