1--TEST-- 2IntlTimeZone::getTZDataVersion(): 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::getTZDataVersion('foo')); 12 13--EXPECTF-- 14 15Warning: IntlTimeZone::getTZDataVersion() expects exactly 0 parameters, 1 given in %s on line %d 16 17Warning: IntlTimeZone::getTZDataVersion(): intltz_get_tz_data_version: bad arguments in %s on line %d 18bool(false) 19