1234567891011121314151617181920 |
- --TEST--
- IntlTimeZone::countEquivalentIDs(): basic test
- --SKIPIF--
- <?php
- if (!extension_loaded('intl'))
- die('skip intl extension not enabled');
- --FILE--
- <?php
- ini_set("intl.error_level", E_WARNING);
- $count = IntlTimeZone::countEquivalentIDs('Europe/Lisbon');
- var_dump($count >= 2);
- $count2 = intltz_count_equivalent_ids('Europe/Lisbon');
- var_dump($count2 == $count);
- ?>
- ==DONE==
- --EXPECT--
- bool(true)
- bool(true)
- ==DONE==
|