1--TEST-- 2IntlTimeZone::createEnumeration(): errors 3--SKIPIF-- 4<?php 5if (!extension_loaded('intl')) 6 die('skip intl extension not enabled'); 7--FILE-- 8<?php 9ini_set("intl.error_level", E_WARNING); 10 11var_dump(IntlTimeZone::createEnumeration(array())); 12var_dump(IntlTimeZone::createEnumeration(1, 2)); 13 14 15--EXPECTF-- 16 17Warning: IntlTimeZone::createEnumeration(): intltz_create_enumeration: invalid argument type in %s on line %d 18bool(false) 19 20Warning: IntlTimeZone::createEnumeration() expects at most 1 parameter, 2 given in %s on line %d 21 22Warning: IntlTimeZone::createEnumeration(): intltz_create_enumeration: bad arguments in %s on line %d 23bool(false) 24