diff --git a/reference/datetime/datetimezone/gettransitions.xml b/reference/datetime/datetimezone/gettransitions.xml index 82edc36edd..08e454a1b6 100644 --- a/reference/datetime/datetimezone/gettransitions.xml +++ b/reference/datetime/datetimezone/gettransitions.xml @@ -85,10 +85,10 @@ A <function>timezone_transitions_get</function> example -getTransitions())); +getTransitions(); +print_r(array_slice($transitions, 0, 3)); ?> ]]> @@ -97,11 +97,33 @@ print_r(reset($timezone->getTransitions())); -1693706400 - [time] => 1916-04-30T22:00:00+0000 - [offset] => 7200 - [isdst] => 1 - [abbr] => CEST + [0] => Array + ( + [ts] => -9223372036854775808 + [time] => -292277022657-01-27T08:29:52+0000 + [offset] => 3600 + [isdst] => 1 + [abbr] => BST + ) + + [1] => Array + ( + [ts] => -1691964000 + [time] => 1916-05-21T02:00:00+0000 + [offset] => 3600 + [isdst] => 1 + [abbr] => BST + ) + + [2] => Array + ( + [ts] => -1680472800 + [time] => 1916-10-01T02:00:00+0000 + [offset] => 0 + [isdst] => + [abbr] => GMT + ) + ) ]]>