1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00
Files
archived-php-src/ext/date/tests/date_default_timezone_get-3.phpt
2020-02-03 22:52:20 +01:00

15 lines
280 B
PHP

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