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--EXPECTF-- 14Warning: IntlTimeZone::createEnumeration(): intltz_create_enumeration: invalid argument type in %s on line %d 15bool(false) 16 17Warning: IntlTimeZone::createEnumeration() expects at most 1 parameter, 2 given in %s on line %d 18 19Warning: IntlTimeZone::createEnumeration(): intltz_create_enumeration: bad arguments in %s on line %d 20bool(false) 21