Skip to content

Commit 8e5460a

Browse files
committed
Adding test from 5.5
1 parent 67557fc commit 8e5460a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--TEST--
2+
date_default_timezone_get() function [4]
3+
--INI--
4+
date.timezone=Incorrect/Zone
5+
--FILE--
6+
<?php
7+
echo date_default_timezone_get(), "\n";
8+
?>
9+
--EXPECTF--
10+
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
11+
UTC

0 commit comments

Comments
 (0)