DateTimeZone::listAbbreviations

timezone_abbreviations_list

(PHP 5 >= 5.2.0, PHP 7)

DateTimeZone::listAbbreviations -- timezone_abbreviations_list����һ������ dst (����ʱ)��ʱ���ʱ����Ϣ�Ĺ������顣

˵��

���������

public static DateTimeZone::listAbbreviations ( void ) : array

���̻����

timezone_abbreviations_list ( void ) : array

����ֵ

�ɹ����������飬 ������ʧ��ʱ���� FALSE��

����

Example #1 timezone_abbreviations_list() �����ķ�����

<?php
$timezone_abbreviations 
DateTimeZone::listAbbreviations();
print_r($timezone_abbreviations["acst"]);
?>

�������̵���������ڣ�

Array
(
    [0] => Array
        (
            [dst] => 1
            [offset] => -14400
            [timezone_id] => America/Porto_Acre
        )

    [1] => Array
        (
            [dst] => 1
            [offset] => -14400
            [timezone_id] => America/Eirunepe
        )

    [2] => Array
        (
            [dst] => 1
            [offset] => -14400
            [timezone_id] => America/Rio_Branco
        )

    [3] => Array
        (
            [dst] => 1
            [offset] => -14400
            [timezone_id] => Brazil/Acre
        )

)

�μ�