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