mirror of
https://github.com/php/php-src.git
synced 2026-04-29 11:13:36 +02:00
9a3a4b5ba2
Also correcting new IntlChar class constants typos.
14 lines
294 B
PHP
14 lines
294 B
PHP
--TEST--
|
|
IntlTimeZone::createTimeZone(): errors
|
|
--EXTENSIONS--
|
|
intl
|
|
--FILE--
|
|
<?php
|
|
ini_set("intl.error_level", E_WARNING);
|
|
|
|
var_dump(IntlTimeZone::createTimeZone("foo\x80"));
|
|
?>
|
|
--EXPECTF--
|
|
Warning: IntlTimeZone::createTimeZone(): could not convert time zone id to UTF-16 in %s on line %d
|
|
NULL
|