mirror of
https://github.com/php/php-src.git
synced 2026-04-23 07:58:20 +02:00
7485978339
This is an automated migration of most SKIPIF extension_loaded checks.
18 lines
455 B
PHP
18 lines
455 B
PHP
--TEST--
|
|
IntlTimeZone::getRegion(): errors
|
|
--EXTENSIONS--
|
|
intl
|
|
--FILE--
|
|
<?php
|
|
ini_set("intl.error_level", E_WARNING);
|
|
|
|
var_dump(IntlTimeZone::getRegion("foo\x81"));
|
|
var_dump(IntlTimeZone::getRegion("foo"));
|
|
?>
|
|
--EXPECTF--
|
|
Warning: IntlTimeZone::getRegion(): intltz_get_region: could not convert time zone id to UTF-16 in %s on line %d
|
|
bool(false)
|
|
|
|
Warning: IntlTimeZone::getRegion(): intltz_get_region: Error obtaining region in %s on line %d
|
|
bool(false)
|