Home
last modified time | relevance | path

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

/PHP-8.4/ext/intl/tests/
H A Dtimezone_equals_basic.phpt9 $tz1 = intltz_create_time_zone('Europe/Lisbon');
12 var_dump($tz1 == $tz1);
14 var_dump($tz1 == $tz2);
16 var_dump($tz1 == intltz_create_time_zone('Portugal'));
18 var_dump($tz1 == intltz_get_gmt());
H A Dtimezone_clone_basic.phpt9 $tz1 = IntlTimeZone::createTimeZone('Europe/Amsterdam');
10 print_r($tz1);
11 print_r(clone $tz1);
/PHP-8.4/ext/date/tests/
H A DDateTimeZone_compare_basic1.phpt25 $tz1 = new DateTimeZone($timezone1);
29 var_dump($tz1 < $tz2);
31 var_dump($tz1 == $tz2);
33 var_dump($tz1 > $tz2);
43 $tz1 = new MyDateTimeZone();
46 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 Dbug68406.phpt8 $tz1 = new DateTimeZone('Europe/Berlin');
11 $d = new DateTime('2014-12-24 13:00:00', $tz1);
H A DDateTimeZone_getName_basic1.phpt10 $tz1 = new DateTimeZone("Europe/London");
11 var_dump( $tz1->getName() );
H A DDateTimeZone_getOffset_basic1.phpt10 $tz1 = new DateTimeZone("Europe/London");
12 var_dump( $tz1->getOffset($date) );
/PHP-8.4/ext/date/
H A Dphp_date.c367 static int date_object_compare_timezone(zval *tz1, zval *tz2);
2034 static int date_object_compare_timezone(zval *tz1, zval *tz2) /* {{{ */ in date_object_compare_timezone() argument
2038 ZEND_COMPARE_OBJECTS_FALLBACK(tz1, tz2); in date_object_compare_timezone()
2040 o1 = Z_PHPTIMEZONE_P(tz1); in date_object_compare_timezone()

Completed in 37 milliseconds