diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-06-04 01:03:14 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-06-04 11:25:45 +0200 |
commit | 864fb0ec23d4737e3090b6f77d57057813d8c6b4 (patch) | |
tree | c0146b9b5fd2b957269e94abd8384237f69455e7 /ext/intl | |
parent | efde51e1976c8d3e8a2e6ce182f6a6b6b376f12f (diff) | |
download | php-git-864fb0ec23d4737e3090b6f77d57057813d8c6b4.tar.gz |
Implement #47074: phpinfo() reports "On" as 1 for the some extensions
What is modified as boolean, should also be displayed as boolean.
Diffstat (limited to 'ext/intl')
-rw-r--r-- | ext/intl/php_intl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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() /* }}} */ |