From 3acecace1be34ea064c12494b31870503a86eca6 Mon Sep 17 00:00:00 2001 From: lacatoire Date: Fri, 6 Feb 2026 14:51:14 +0100 Subject: [PATCH] Add documentation for intltz_get_iana_id Add documentation page for intltz_get_iana_id available since PHP 8.4: - intltz_get_iana_id: Get the IANA identifier for a given timezone (ICU >= 74) --- .../intl/functions/intltz-get-iana-id.xml | 80 +++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 reference/intl/functions/intltz-get-iana-id.xml diff --git a/reference/intl/functions/intltz-get-iana-id.xml b/reference/intl/functions/intltz-get-iana-id.xml new file mode 100644 index 000000000000..2e5ba610276b --- /dev/null +++ b/reference/intl/functions/intltz-get-iana-id.xml @@ -0,0 +1,80 @@ + + + + intltz_get_iana_id + Get the IANA identifier for a given timezone + + + + &reftitle.description; + + stringfalseintltz_get_iana_id + stringtimezoneId + + + Translates a timezone identifier to its IANA equivalent. For example, + "GMT" returns "Etc/GMT", and + "US/Eastern" returns "America/New_York". + + + + This function requires ICU 74 or later. + + + + + + &reftitle.parameters; + + + + timezoneId + + + The timezone identifier to translate. + + + + + + + + + &reftitle.returnvalues; + + Returns the IANA timezone identifier as a &string;, or &false; on failure. + + + + + &reftitle.seealso; + + + intltz_get_id_for_windows_id + intltz_get_windows_id + intltz_create_time_zone + + + + + +