1--TEST--
2Test new DateTimeZone() : basic functionality
3--FILE--
4<?php
5/* Prototype  : DateTimeZone::__construct  ( string $timezone  )
6 * Description: Returns new DateTimeZone object
7 * Source code: ext/date/php_date.c
8 * Alias to functions:
9 */
10
11//Set the default time zone
12date_default_timezone_set("Europe/London");
13
14echo "*** Testing new DateTimeZone() : basic functionality ***\n";
15
16var_dump( new DateTimeZone("GMT") );
17var_dump( new DateTimeZone("Europe/London") );
18var_dump( new DateTimeZone("America/Los_Angeles") );
19
20?>
21===DONE===
22--EXPECTF--
23*** Testing new DateTimeZone() : basic functionality ***
24object(DateTimeZone)#%d (0) {
25}
26object(DateTimeZone)#%d (0) {
27}
28object(DateTimeZone)#%d (0) {
29}
30===DONE===
31