mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00

This is effectively removing ZPP tests, enabling warnings, and moving INI settings into the INI PHPT block
21 lines
441 B
PHP
21 lines
441 B
PHP
--TEST--
|
|
IntlTimeZone::createEnumeration(): basic test
|
|
--EXTENSIONS--
|
|
intl
|
|
--FILE--
|
|
<?php
|
|
$tz = IntlTimeZone::createEnumeration();
|
|
var_dump(get_class($tz));
|
|
$count = count(iterator_to_array($tz));
|
|
var_dump($count > 300);
|
|
|
|
$tz = intltz_create_enumeration();
|
|
var_dump(get_class($tz));
|
|
$count2 = count(iterator_to_array($tz));
|
|
var_dump($count == $count2);
|
|
?>
|
|
--EXPECT--
|
|
string(12) "IntlIterator"
|
|
bool(true)
|
|
string(12) "IntlIterator"
|
|
bool(true)
|