summaryrefslogtreecommitdiff
path: root/ext/date/tests/date_default_timezone_get-4.phpt
blob: 6d1982bc13d1b429ab48c0dac4368872cdeeed91 (plain)
1
2
3
4
5
6
7
8
9
10
11
--TEST--
date_default_timezone_get() function [4]
--INI--
date.timezone=Incorrect/Zone
--FILE--
<?php
	echo date_default_timezone_get(), "\n";
?>
--EXPECTF--
Warning: date_default_timezone_get(): Invalid date.timezone value 'Incorrect/Zone', we selected the timezone 'UTC' for now. in %sdate_default_timezone_get-4.php on line %d
UTC