Use helper macro in ext/exif (#14352)

This commit is contained in:
Niels Dossche 2024-05-29 17:48:43 +02:00 committed by GitHub
parent 0f64901316
commit e6abca4d24
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -73,7 +73,7 @@ PHP_MINFO_FUNCTION(exif)
php_info_print_table_row(2, "Supported EXIF Version", "0220");
php_info_print_table_row(2, "Supported filetypes", "JPEG, TIFF");
if (zend_hash_str_exists(&module_registry, "mbstring", sizeof("mbstring")-1)) {
if (USE_MBSTRING) {
php_info_print_table_row(2, "Multibyte decoding support using mbstring", "enabled");
} else {
php_info_print_table_row(2, "Multibyte decoding support using mbstring", "disabled");