From e5b872a8177b142f160467c0455bebd6d2f061d2 Mon Sep 17 00:00:00 2001 From: Moriyoshi Koizumi Date: Mon, 14 Sep 2009 04:11:29 +0000 Subject: [PATCH] - Looks like bug #48697 has already been fixed in RC1. --- NEWS | 2 ++ ext/mbstring/tests/bug48697.phpt | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 ext/mbstring/tests/bug48697.phpt diff --git a/NEWS b/NEWS index a65929ef2b..48c076a6de 100644 --- a/NEWS +++ b/NEWS @@ -80,6 +80,8 @@ PHP NEWS - Fixed bug #48718 (FILTER_VALIDATE_EMAIL does not allow numbers in domain components). (Ilia) - Fixed bug #48709 (metaphone and 'wh'). (brettz9 at yahoo dot com, Felipe) +- Fixed bug #48697 (mb_internal_encoding() value gets reset by parse_str()). + (Moriyoshi) - Fixed bug #48693 (Double declaration of __lambda_func when lambda wrongly formatted). (peter at lvp-media dot com, Felipe) - Fixed bug #48661 (phpize is broken with non-bash shells). (Jani) diff --git a/ext/mbstring/tests/bug48697.phpt b/ext/mbstring/tests/bug48697.phpt new file mode 100644 index 0000000000..b79fb774bc --- /dev/null +++ b/ext/mbstring/tests/bug48697.phpt @@ -0,0 +1,24 @@ +--TEST-- +Bug #48697 (mb_internal_encoding() value gets reset by parse_str() +--SKIPIF-- + +--FILE-- + +--EXPECT-- +string(11) "ISO-8859-15" +string(5) "UTF-8" +string(5) "UTF-8" +string(5) "UTF-8" +string(5) "UTF-8" -- 2.40.0