1--TEST--
2IntlDatePatternGenerator::getBestPattern(): errors
3--EXTENSIONS--
4intl
5--FILE--
6<?php
7ini_set("intl.error_level", E_WARNING);
8
9$dtpg = new IntlDatePatternGenerator();
10var_dump($dtpg->getBestPattern("jjmm\x80"));
11
12?>
13--EXPECTF--
14Warning: IntlDatePatternGenerator::getBestPattern(): Skeleton is not a valid UTF-8 string in %s on line %d
15bool(false)
16