php-src/ext/date/tests/date_default_timezone_get-3.phpt
Scott MacVicar 8e11f40093 Fix tests
2009-01-27 14:16:15 +00:00

16 lines
287 B
PHP

--TEST--
date_default_timezone_get() function [3]
--INI--
date.timezone=
--FILE--
<?php
putenv('TZ=Europe/Rome');
echo date_default_timezone_get(), "\n";
date_default_timezone_set("America/Chicago");
echo date_default_timezone_get(), "\n";
?>
--EXPECT--
Europe/Rome
America/Chicago