From e6abca4d24ac95b848e34d71a5faee6e57eefff2 Mon Sep 17 00:00:00 2001 From: Niels Dossche <7771979+nielsdos@users.noreply.github.com> Date: Wed, 29 May 2024 17:48:43 +0200 Subject: [PATCH] Use helper macro in ext/exif (#14352) --- ext/exif/exif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/exif/exif.c b/ext/exif/exif.c index aa83fd969ef..72a6673d4a5 100644 --- a/ext/exif/exif.c +++ b/ext/exif/exif.c @@ -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");