1--TEST--
2Test timezone_open() function : basic functionality
3--FILE--
4<?php
5echo "*** Testing timezone_open() : basic functionality ***\n";
6
7var_dump( timezone_open("GMT") );
8var_dump( timezone_open("Europe/London") );
9var_dump( timezone_open("America/Los_Angeles") );
10
11?>
12--EXPECTF--
13*** Testing timezone_open() : basic functionality ***
14object(DateTimeZone)#%d (2) {
15  ["timezone_type"]=>
16  int(2)
17  ["timezone"]=>
18  string(3) "GMT"
19}
20object(DateTimeZone)#%d (2) {
21  ["timezone_type"]=>
22  int(3)
23  ["timezone"]=>
24  string(13) "Europe/London"
25}
26object(DateTimeZone)#%d (2) {
27  ["timezone_type"]=>
28  int(3)
29  ["timezone"]=>
30  string(19) "America/Los_Angeles"
31}
32