Home
last modified time | relevance | path

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

/PHP-8.4/ext/date/tests/
H A DDateTimeZone_compare_basic1.phpt26 $tz2 = new DateTimeZone($timezone2);
29 var_dump($tz1 < $tz2);
31 var_dump($tz1 == $tz2);
33 var_dump($tz1 > $tz2);
44 $tz2 = new MyDateTimeZone();
46 var_dump($tz1 == $tz2);
H A Ddate_create-1.phpt7 $tz2 = timezone_open("Europe/London");
18 $d[] = date_create("2005-07-14 22:30:41", $tz2);
22 $d[] = date_create("2005-07-14 22:30:41 GMT", $tz2);
26 $d[] = date_create("2005-07-14 22:30:41 America/Los_Angeles", $tz2);
H A Dbug45529.phpt7 $tz2 = date_create('UTC')->getTimeZone();
9 echo $tz2->getName(), PHP_EOL;
14 $d->setTimeZone($tz2);
H A Dbug68406.phpt9 $tz2 = new DateTimeZone('Europe/Berlin');
12 var_dump($d->getTimezone(), $tz2);
14 if($tz2 == $d->getTimezone()) {
H A DDateTimeZone_serialize_type_1.phpt13 $tz2 = unserialize($serialized);
14 var_dump($tz2);
16 var_dump( $tz2->getName() );
H A DDateTimeZone_serialize_type_2.phpt13 $tz2 = unserialize($serialized);
14 var_dump($tz2);
16 var_dump( $tz2->getName() );
H A DDateTimeZone_serialize_type_3.phpt13 $tz2 = unserialize($serialized);
14 var_dump($tz2);
16 var_dump( $tz2->getName() );
H A DDateTimeZone_getName_basic1.phpt13 $tz2 = new DateTimeZone("America/New_York");
14 var_dump( $tz2->getName() );
H A DDateTimeZone_getOffset_basic1.phpt14 $tz2 = new DateTimeZone("America/New_York");
15 var_dump( $tz2->getOffset($date) );
/PHP-8.4/ext/intl/tests/
H A Dtimezone_equals_error.phpt14 $tz2 = intltz_get_gmt();
15 var_dump($tz, $tz2);
17 var_dump($tz == $tz2);
H A Dtimezone_equals_basic.phpt10 $tz2 = intltz_create_time_zone('Europe/Lisbon');
14 var_dump($tz1 == $tz2);
/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()
2041 o2 = Z_PHPTIMEZONE_P(tz2); in date_object_compare_timezone()

Completed in 25 milliseconds