1--TEST--
2IntlTimeZone::getCanonicalID(): errors
3--EXTENSIONS--
4intl
5--FILE--
6<?php
7ini_set("intl.error_level", E_WARNING);
8
9var_dump(IntlTimeZone::getCanonicalID("foo\x81"));
10?>
11--EXPECTF--
12Warning: IntlTimeZone::getCanonicalID(): intltz_get_canonical_id: could not convert time zone id to UTF-16 in %s on line %d
13bool(false)
14