svn: /phpdoc/ja/trunk/reference/mbstring/functions/ mb-parse-str.xml
| From: | Yoshinari Takaoka | Date: | Wed, 05 Aug 2020 12:29:58 +0000 |
| Subject: | svn: /phpdoc/ja/trunk/reference/mbstring/functions/ mb-parse-str.xml | ||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-5733@lists.php.net to get a copy of this message | ||
mumumu Wed, 05 Aug 2020 12:29:58 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=350286
Log:
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 <alexinbeijing@gmail.com>.
Changed paths:
U phpdoc/ja/trunk/reference/mbstring/functions/mb-parse-str.xml
Modified: phpdoc/ja/trunk/reference/mbstring/functions/mb-parse-str.xml
===================================================================
--- phpdoc/ja/trunk/reference/mbstring/functions/mb-parse-str.xml 2020-08-05 06:42:11 UTC (rev
350285)
+++ phpdoc/ja/trunk/reference/mbstring/functions/mb-parse-str.xml 2020-08-05 12:29:58 UTC (rev
350286)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 288721 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 350280 Maintainer: hirokawa Status: ready -->
+<!-- Credits: mumumu -->
<refentry xml:id="function.mb-parse-str" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>mb_parse_str</refname>
@@ -12,7 +13,7 @@
<methodsynopsis>
<type>bool</type><methodname>mb_parse_str</methodname>
<methodparam><type>string</type><parameter>encoded_string</parameter></methodparam>
- <methodparam choice="opt"><type>array</type><parameter
role="reference">result</parameter></methodparam>
+ <methodparam><type>array</type><parameter
role="reference">result</parameter></methodparam>
</methodsynopsis>
<para>
GET/POST/COOKIE データをパースし、
@@ -55,6 +56,30 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>第二引数はオプションではなくなりました。</entry>
+ </row>
+ <row>
+ <entry>7.2.0</entry>
+ <entry>第二引数なしで <function>mb_parse_str</function>
を呼び出すことは推奨されなくなりました。</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>