Fix #80207: DateTimeZone::getTransitions return array

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350825 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2020-10-09 08:27:52 +00:00
parent 091d0f1d27
commit 00232074c5

View file

@ -52,8 +52,47 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns numerically indexed array containing associative array with all
transitions on success&return.falseforfailure;.
Returns a numerically indexed array of
transition arrays on success, &return.falseforfailure;.
<table>
<title>Transition Array Structure</title>
<tgroup cols="2">
<thead>
<row>
<entry>Key</entry>
<entry>Type</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry><literal>ts</literal></entry>
<entry><type>int</type></entry>
<entry>Unix timestamp</entry>
</row>
<row>
<entry><literal>time</literal></entry>
<entry><type>string</type></entry>
<entry><constant>DateTimeInterface::ISO8601</constant> time string</entry>
</row>
<row>
<entry><literal>offset</literal></entry>
<entry><type>int</type></entry>
<entry>Offset to UTC in seconds</entry>
</row>
<row>
<entry><literal>isdst</literal></entry>
<entry><type>bool</type></entry>
<entry>Whether daylight saving time is active</entry>
</row>
<row>
<entry><literal>abbr</literal></entry>
<entry><type>string</type></entry>
<entry>Timezone abbreviation</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</refsect1>