Home
last modified time | relevance | path

Searched refs:tz1 (Results 1 – 12 of 12) sorted by relevance

/PHP-8.0/ext/intl/tests/
H A Dtimezone_equals_basic.phpt11 $tz1 = intltz_create_time_zone('Europe/Lisbon');
14 var_dump($tz1 == $tz1);
16 var_dump($tz1 == $tz2);
18 var_dump($tz1 == intltz_create_time_zone('Portugal'));
20 var_dump($tz1 == intltz_get_gmt());
H A Dtimezone_clone_basic.phpt11 $tz1 = IntlTimeZone::createTimeZone('Europe/Amsterdam');
12 print_r($tz1);
13 print_r(clone $tz1);
/PHP-8.0/ext/date/tests/
H A DDateTimeZone_compare_basic1.phpt21 $tz1 = new DateTimeZone($timezone1);
25 var_dump($tz1 < $tz2);
27 var_dump($tz1 == $tz2);
29 var_dump($tz1 > $tz2);
39 $tz1 = new MyDateTimeZone();
42 var_dump($tz1 == $tz2);
H A Ddate_create-1.phpt6 $tz1 = timezone_open("GMT");
17 $d[] = date_create("2005-07-14 22:30:41", $tz1);
21 $d[] = date_create("2005-07-14 22:30:41 GMT", $tz1);
25 $d[] = date_create("2005-07-14 22:30:41 Europe/Oslo", $tz1);
H A Dbug45529.phpt6 $tz1 = new DateTimeZone('UTC');
8 echo $tz1->getName(), PHP_EOL;
11 $d->setTimeZone($tz1);
H A DDateTimeZone_serialize_type_1.phpt8 $tz1 = date_create("2012-01-01 10:00 +1:00")->getTimezone();
9 var_dump( $tz1 );
10 $serialized = serialize($tz1);
H A DDateTimeZone_serialize_type_2.phpt8 $tz1 = new DateTimeZone("EST");
9 var_dump( $tz1 );
10 $serialized = serialize($tz1);
H A DDateTimeZone_serialize_type_3.phpt8 $tz1 = new DateTimeZone("America/New_York");
9 var_dump( $tz1 );
10 $serialized = serialize($tz1);
H A DDateTimeZone_getName_basic1.phpt10 $tz1 = new DateTimeZone("Europe/London");
11 var_dump( $tz1->getName() );
H A Dbug68406.phpt8 $tz1 = new DateTimeZone('Europe/Berlin');
11 $d = new DateTime('2014-12-24 13:00:00', $tz1);
H A DDateTimeZone_getOffset_basic1.phpt10 $tz1 = new DateTimeZone("Europe/London");
12 var_dump( $tz1->getOffset($date) );
/PHP-8.0/ext/date/
H A Dphp_date.c189 static int date_object_compare_timezone(zval *tz1, zval *tz2);
1934 static int date_object_compare_timezone(zval *tz1, zval *tz2) /* {{{ */ in date_object_compare_timezone() argument
1938 ZEND_COMPARE_OBJECTS_FALLBACK(tz1, tz2); in date_object_compare_timezone()
1940 o1 = Z_PHPTIMEZONE_P(tz1); in date_object_compare_timezone()

Completed in 23 milliseconds