mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
13 lines
307 B
PHP
13 lines
307 B
PHP
--TEST--
|
|
IntlTimeZone::getEquivalentID(): errors
|
|
--EXTENSIONS--
|
|
intl
|
|
--FILE--
|
|
<?php
|
|
ini_set("intl.error_level", E_WARNING);
|
|
|
|
var_dump(IntlTimeZone::getEquivalentID("foo\x80", 0));
|
|
?>
|
|
--EXPECTF--
|
|
Warning: IntlTimeZone::getEquivalentID(): could not convert time zone id to UTF-16 in %s on line %d
|
|
bool(false)
|