1--TEST--
2Test date_default_timezone_set() function : error variations
3--FILE--
4<?php
5echo "*** Testing date_default_timezone_set() : error variations ***\n";
6
7echo "\n-- Testing date_default_timezone_set() function with invalid timezone identifier  --\n";
8var_dump( date_default_timezone_set("foo") );
9
10?>
11--EXPECTF--
12*** Testing date_default_timezone_set() : error variations ***
13
14-- Testing date_default_timezone_set() function with invalid timezone identifier  --
15
16Notice: date_default_timezone_set(): Timezone ID 'foo' is invalid in %s on line %d
17bool(false)
18