From 3211df46803e070f7784e649ad369cf70d96f8b6 Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Tue, 4 Aug 2020 06:49:52 +0000 Subject: [PATCH] The 2nd argument to mb_parse_str is not optional Using mb_parse_str without the 2nd argument was deprecated in PHP 7.2. Nikita Popov made it a required argument in ff780feca4f1b2dd5c1b7cf692781070d49df7cb. Patch contributed by Alex Dowad . git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350280 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mbstring/functions/mb-parse-str.xml | 32 ++++++++++++++++--- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/reference/mbstring/functions/mb-parse-str.xml b/reference/mbstring/functions/mb-parse-str.xml index 8da40bb854..563199c96c 100644 --- a/reference/mbstring/functions/mb-parse-str.xml +++ b/reference/mbstring/functions/mb-parse-str.xml @@ -5,13 +5,13 @@ mb_parse_str Parse GET/POST/COOKIE data and set global variable - + &reftitle.description; boolmb_parse_str stringencoded_string - arrayresult + arrayresult Parses GET/POST/COOKIE data and @@ -46,14 +46,38 @@ - + &reftitle.returnvalues; &return.success; - + + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.0.0 + The second parameter was no longer optional. + + + 7.2.0 + Calling mb_parse_str without the second parameter was deprecated. + + + + + + &reftitle.seealso;