summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS4
-rw-r--r--ext/iconv/iconv.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 9cb9aa886c..b7d193ab58 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,10 @@ PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? ????, PHP 7.3.12
+- Iconv:
+ . Fixed bug #78642 (Wrong libiconv version displayed). (gedas at martynas,
+ cmb).
+
24 Oct 2019, PHP 7.3.11
- Core:
diff --git a/ext/iconv/iconv.c b/ext/iconv/iconv.c
index 24aefcbba7..a152187e6c 100644
--- a/ext/iconv/iconv.c
+++ b/ext/iconv/iconv.c
@@ -284,7 +284,7 @@ PHP_MINIT_FUNCTION(miconv)
{
static char buf[16];
snprintf(buf, sizeof(buf), "%d.%d",
- ((_libiconv_version >> 8) & 0x0f), (_libiconv_version & 0x0f));
+ _libiconv_version >> 8, _libiconv_version & 0xff);
version = buf;
}
#elif HAVE_GLIBC_ICONV