<?php ini_set("intl.error_level", E_WARNING); $tz = IntlTimeZone::createEnumeration('NL'); var_dump(get_class($tz)); $count = count(iterator_to_array($tz)); var_dump($count >= 1); $tz->rewind(); var_dump(in_array('Europe/Amsterdam', iterator_to_array($tz))); ?> ==DONE==
<?php ini_set("intl.error_level", E_WARNING); $tz = IntlTimeZone::createEnumeration(3600000); var_dump(get_class($tz)); $count = count(iterator_to_array($tz)); var_dump($count > 20); $tz->rewind(); var_dump(in_array('Europe/Amsterdam', iterator_to_array($tz))); ?> ==DONE==
<?php ini_set("intl.error_level", E_WARNING); var_dump(IntlTimeZone::createEnumeration(array())); var_dump(IntlTimeZone::createEnumeration(1, 2));