Annotation of embedaddon/php/ext/date/tests/timezone_open_basic1.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Test 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: 
                     11: echo "*** Testing timezone_open() : basic functionality ***\n";
                     12: 
                     13: var_dump( timezone_open("GMT") );
                     14: var_dump( timezone_open("Europe/London") );
                     15: var_dump( timezone_open("America/Los_Angeles") );
                     16: 
                     17: ?>
                     18: ===DONE===
                     19: --EXPECTF--
                     20: *** Testing timezone_open() : basic functionality ***
                     21: object(DateTimeZone)#%d (0) {
                     22: }
                     23: object(DateTimeZone)#%d (0) {
                     24: }
                     25: object(DateTimeZone)#%d (0) {
                     26: }
                     27: ===DONE===

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>