mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00

This is effectively removing ZPP tests, enabling warnings, and moving INI settings into the INI PHPT block
15 lines
323 B
PHP
15 lines
323 B
PHP
--TEST--
|
|
IntlTimeZone::getDisplayName(): errors
|
|
--EXTENSIONS--
|
|
intl
|
|
--FILE--
|
|
<?php
|
|
|
|
$tz = IntlTimeZone::createTimeZone('Europe/Lisbon');
|
|
var_dump($tz->getDisplayName(false, -1));
|
|
echo intl_get_error_message(), PHP_EOL;
|
|
|
|
?>
|
|
--EXPECT--
|
|
bool(false)
|
|
IntlTimeZone::getDisplayName(): wrong display type: U_ILLEGAL_ARGUMENT_ERROR
|