com doc/ja: explode: update reference to implode param order: reference/strings/functions/explode.xml
[email protected] (Yoshinari Takaoka) Fri, 22 Jan 2021 13:02:37 +0000
| Newsgroups | php.doc.ja |
|---|---|
| Message-ID | <[email protected]> |
Commit: dde35ec18286e8dd76c30f5b0e8208f9c49f1a24 Author: Yoshinari Takaoka <[email protected]> Fri, 22 Jan 2021 22:02:37 +0900 Parents: 406583ebad6743fced75ae6e6e92e19acfaff542 Branches: master Link: http://git.php.net/?p=doc/ja.git;a=commitdiff;h=dde35ec18286e8dd76c30f5b0e8208f9c49f1a24 Log: explode: update reference to implode param order The legacy order was deprecated in 7.4 and removed in 8.0. Closes GH-372. Changed paths: M reference/strings/functions/explode.xml Diff: diff --git a/reference/strings/functions/explode.xml b/reference/strings/functions/explode.xml index b7c7b6fcff..6a3a2b271f 100644 --- a/reference/strings/functions/explode.xml +++ b/reference/strings/functions/explode.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: e095023e408c8cb6378ae16bb6870343a3946919 Maintainer: hirokawa Status: ready --> +<!-- EN-Revision: 923fbe06539286e2a9261ea9982e788b4157ad48 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka,mumumu --> <refentry xml:id="function.explode" xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -64,11 +64,11 @@ </para> <note> <para> - 歴史的理由により、<function>implode</function> - はいずれのパラメータ順も受け入れることができますが、 - <function>explode</function> はそうできません。 - <parameter>string</parameter> 引数の前に必ず - <parameter>separator</parameter> 引数がくるように確認する必要があります。 + PHP 8.0 より前のバージョンでは、<function>implode</function> + はいずれのパラメータ順も受け入れることができていましたが、 + <function>explode</function> はそのようなことはサポートしていません。 + つまり、<parameter>string</parameter> 引数の前に必ず + <parameter>separator</parameter> 引数がくることを確認しなければいけません。 </para> </note> </refsect1>