Searched refs:timezone_open (Results 1 – 15 of 15) sorted by relevance
2 Test timezone_open() function : basic functionality5 echo "*** Testing timezone_open() : basic functionality ***\n";7 var_dump( timezone_open("GMT") );8 var_dump( timezone_open("Europe/London") );9 var_dump( timezone_open("America/Los_Angeles") );13 *** Testing timezone_open() : basic functionality ***
2 timezone_open() invalid timezones9 $d = timezone_open( $timezone );19 Warning: timezone_open(): Unknown or bad timezone (2.5) in %stimezone_open_warning.php on line 621 Warning: timezone_open(): Unknown or bad timezone (99:60) in %stimezone_open_warning.php on line 623 Warning: timezone_open(): Unknown or bad timezone (Europe/Lviv) in %stimezone_open_warning.php on l…
2 Bug #78139 (timezone_open accepts invalid timezone string argument)18 $tz = timezone_open($string);42 Warning: timezone_open(): Unknown or bad timezone (x UTC) in %sbug78139.php on line %d49 Warning: timezone_open(): Unknown or bad timezone (xx UTC) in %sbug78139.php on line %d56 Warning: timezone_open(): Unknown or bad timezone (xUTC) in %sbug78139.php on line %d63 Warning: timezone_open(): Unknown or bad timezone (UTCx) in %sbug78139.php on line %d70 Warning: timezone_open(): Unknown or bad timezone (UTC xx) in %sbug78139.php on line %d
10 $tz = timezone_open("Europe/London");15 $tz = timezone_open("America/New_York");18 $tz = timezone_open("America/Los_Angeles");
6 $tz1 = timezone_open("GMT");7 $tz2 = timezone_open("Europe/London");8 $tz3 = timezone_open("America/Los_Angeles");
7 var_dump(timezone_open($timezone));18 ValueError: timezone_open(): Argument #1 ($timezone) must not contain any null bytes
17 $la_time = timezone_open("America/Los_Angeles");
15 $la_time = timezone_open("America/Los_Angeles");
12 $timezone = timezone_open("GMT");
11 $tz = timezone_open("Europe/London");
5 $tz = timezone_open( "UTC" );
7 $tz = timezone_open("Europe/London");
215 function timezone_open(string $timezone): DateTimeZone|false {} function
551 ZEND_FUNCTION(timezone_open);652 ZEND_FE(timezone_open, arginfo_timezone_open)
4025 PHP_FUNCTION(timezone_open) in PHP_FUNCTION() argument
Completed in 37 milliseconds