php-src/ext/intl/tests/timezone_countEquivalentIDs_basic.phpt
Gina Peter Banyard c42e6d62d8
ext/intl: modernize tests (#19392)
This is effectively removing ZPP tests, enabling warnings, and moving INI settings into the INI PHPT block
2025-08-06 23:33:48 +01:00

15 lines
296 B
PHP

--TEST--
IntlTimeZone::countEquivalentIDs(): basic test
--EXTENSIONS--
intl
--FILE--
<?php
$count = IntlTimeZone::countEquivalentIDs('Europe/Lisbon');
var_dump($count >= 2);
$count2 = intltz_count_equivalent_ids('Europe/Lisbon');
var_dump($count2 == $count);
?>
--EXPECT--
bool(true)
bool(true)