<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.datetimezone.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'datetimezone.listabbreviations.php',
    1 => 'DateTimeZone::listAbbreviations',
    2 => 'Returns associative array containing dst, offset and the timezone name',
  ),
  'up' => 
  array (
    0 => 'class.datetimezone.php',
    1 => 'DateTimeZone',
  ),
  'prev' => 
  array (
    0 => 'datetimezone.gettransitions.php',
    1 => 'DateTimeZone::getTransitions',
  ),
  'next' => 
  array (
    0 => 'datetimezone.listidentifiers.php',
    1 => 'DateTimeZone::listIdentifiers',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/datetime/datetimezone/listabbreviations.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="datetimezone.listabbreviations" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">DateTimeZone::listAbbreviations</h1>
  <h1 class="refname">timezone_abbreviations_list</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.2.0, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">DateTimeZone::listAbbreviations</span> -- <span class="refname">timezone_abbreviations_list</span> &mdash; <span class="dc-title">Returns associative array containing dst, offset and the timezone name</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-datetimezone.listabbreviations-description">
  <h3 class="title">Опис</h3>
  <p class="para">Об&#039;єктно-орієнтований стиль</p>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="modifier">static</span> <span class="methodname"><strong>DateTimeZone::listAbbreviations</strong></span>(): <span class="type"><a href="language.types.array.php" class="type array">array</a></span></div>

  <p class="para rdfs-comment">Процедурний стиль</p>
  <div class="methodsynopsis dc-description"><span class="methodname"><a href="function.timezone-abbreviations-list.php" class="methodname">timezone_abbreviations_list</a></span>(): <span class="type"><a href="language.types.array.php" class="type array">array</a></span></div>

  <p class="para rdfs-comment">
   The returned list of abbreviations includes all historical use of
   abbreviations, which can lead to correct, but confusing entries.
   There are also conflicts, as <code class="literal">PST</code> is used both in the US
   and in the Philippines.
  </p>
  <p class="para">
   The list that this function returns is therefore not suitable for building
   an array with options to present a choice of timezone to users.
  </p>
  <blockquote class="note"><p><strong class="note">Зауваження</strong>: 
   <p class="para">
    The data for this function are precompiled for performance reasons, and are not updated
    when using a newer <a href="https://pecl.php.net/package/timezonedb" class="link external">&raquo;&nbsp;timezonedb</a>.
   </p>
  </p></blockquote>
 </div>


 <div class="refsect1 parameters" id="refsect1-datetimezone.listabbreviations-parameters">
  <h3 class="title">Параметри</h3>
  <p class="para">У цієї функції немає
параметрів.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-datetimezone.listabbreviations-returnvalues">
  <h3 class="title">Значення, що повертаються</h3>
  <p class="para">
   Returns the array of timezone abbreviations.
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-datetimezone.listabbreviations-examples">
  <h3 class="title">Приклади</h3>
  <p class="para">
   <div class="example" id="example-1">
    <p><strong>Приклад #1 A <span class="function"><a href="function.timezone-abbreviations-list.php" class="function">timezone_abbreviations_list()</a></span> example</strong></p>
    <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />$timezone_abbreviations </span><span style="color: #007700">= </span><span style="color: #0000BB">DateTimeZone</span><span style="color: #007700">::</span><span style="color: #0000BB">listAbbreviations</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">print_r</span><span style="color: #007700">(</span><span style="color: #0000BB">$timezone_abbreviations</span><span style="color: #007700">[</span><span style="color: #DD0000">"acst"</span><span style="color: #007700">]);</span></span></code></div>
    </div>

    <div class="example-contents"><p>Поданий вище приклад виведе щось
схоже на:</p></div>
    <div class="example-contents screen">
<div class="examplescode"><pre class="examplescode">Array
(
    [0] =&gt; Array
        (
            [dst] =&gt;
            [offset] =&gt; 34200
            [timezone_id] =&gt; Australia/Adelaide
        )

    [1] =&gt; Array
        (
            [dst] =&gt;
            [offset] =&gt; 34200
            [timezone_id] =&gt; Australia/Broken_Hill
        )

    [2] =&gt; Array
        (
            [dst] =&gt;
            [offset] =&gt; 34200
            [timezone_id] =&gt; Australia/Darwin
        )

    [3] =&gt; Array
        (
            [dst] =&gt;
            [offset] =&gt; 34200
            [timezone_id] =&gt; Australia/North
        )

    [4] =&gt; Array
        (
            [dst] =&gt;
            [offset] =&gt; 34200
            [timezone_id] =&gt; Australia/South
        )

    [5] =&gt; Array
        (
            [dst] =&gt;
            [offset] =&gt; 34200
            [timezone_id] =&gt; Australia/Yancowinna
        )

)</pre>
</div>
    </div>
   </div>
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-datetimezone.listabbreviations-seealso">
  <h3 class="title">Прогляньте також</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.timezone-identifiers-list.php" class="function" rel="rdfs-seeAlso">timezone_identifiers_list()</a> - Псевдонім DateTimeZone::listIdentifiers</span></li>
   </ul>
  </p>
 </div>


</div><?php manual_footer($setup); ?>