mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
7485978339
This is an automated migration of most SKIPIF extension_loaded checks.
17 lines
408 B
PHP
17 lines
408 B
PHP
--TEST--
|
|
IntlTimeZone::getErrorMessage(): errors
|
|
--EXTENSIONS--
|
|
intl
|
|
--FILE--
|
|
<?php
|
|
ini_set("intl.error_level", E_WARNING);
|
|
|
|
var_dump(intltz_get_error_message(null));
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Uncaught TypeError: intltz_get_error_message(): Argument #1 ($timezone) must be of type IntlTimeZone, null given in %s:%d
|
|
Stack trace:
|
|
#0 %s(%d): intltz_get_error_message(NULL)
|
|
#1 {main}
|
|
thrown in %s on line %d
|