mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
This is effectively removing ZPP tests, enabling warnings, and moving INI settings into the INI PHPT block
16 lines
361 B
PHP
16 lines
361 B
PHP
--TEST--
|
|
IntlDatePatternGenerator::getBestPattern(): errors
|
|
--EXTENSIONS--
|
|
intl
|
|
--FILE--
|
|
<?php
|
|
|
|
$dtpg = new IntlDatePatternGenerator();
|
|
var_dump($dtpg->getBestPattern("jjmm\x80"));
|
|
var_dump(intl_get_error_message());
|
|
|
|
?>
|
|
--EXPECT--
|
|
bool(false)
|
|
string(102) "IntlDatePatternGenerator::getBestPattern(): Skeleton is not a valid UTF-8 string: U_INVALID_CHAR_FOUND"
|