From 864fb0ec23d4737e3090b6f77d57057813d8c6b4 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Thu, 4 Jun 2020 01:03:14 +0200 Subject: Implement #47074: phpinfo() reports "On" as 1 for the some extensions What is modified as boolean, should also be displayed as boolean. --- ext/intl/php_intl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/intl/php_intl.c') diff --git a/ext/intl/php_intl.c b/ext/intl/php_intl.c index c4f334ea51..89eb9161b6 100644 --- a/ext/intl/php_intl.c +++ b/ext/intl/php_intl.c @@ -99,7 +99,7 @@ const char *intl_locale_get_default( void ) PHP_INI_BEGIN() STD_PHP_INI_ENTRY(LOCALE_INI_NAME, NULL, PHP_INI_ALL, OnUpdateStringUnempty, default_locale, zend_intl_globals, intl_globals) STD_PHP_INI_ENTRY("intl.error_level", "0", PHP_INI_ALL, OnUpdateLong, error_level, zend_intl_globals, intl_globals) - STD_PHP_INI_ENTRY("intl.use_exceptions", "0", PHP_INI_ALL, OnUpdateBool, use_exceptions, zend_intl_globals, intl_globals) + STD_PHP_INI_BOOLEAN("intl.use_exceptions", "0", PHP_INI_ALL, OnUpdateBool, use_exceptions, zend_intl_globals, intl_globals) PHP_INI_END() /* }}} */ -- cgit v1.2.1