svn: /phpdoc/ja/trunk/reference/pcre/functions/ preg-split.xml
[email protected] (Yoshinari Takaoka)
| Newsgroups | php.doc.ja |
|---|---|
| Message-ID | <[email protected]> |
mumumu Wed, 13 May 2020 17:56:13 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=349866
Log:
Fix #79594: Uncaught TypeError: preg_split() expects parameter 3 to be int, null given
Nope, passing `null` doesn't necessarily mean "skip this argument".
This also integrated user note 121475.
Bug: https://bugs.php.net/79594 (error getting bug information)
Changed paths:
U phpdoc/ja/trunk/reference/pcre/functions/preg-split.xml
Modified: phpdoc/ja/trunk/reference/pcre/functions/preg-split.xml
===================================================================
--- phpdoc/ja/trunk/reference/pcre/functions/preg-split.xml 2020-05-13 17:55:34 UTC (rev 349865)
+++ phpdoc/ja/trunk/reference/pcre/functions/preg-split.xml 2020-05-13 17:56:13 UTC (rev 349866)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 344928 Maintainer: hirokawa Status: ready -->
-<!-- CREDITS: haruki,elf -->
+<!-- EN-Revision: 349857 Maintainer: hirokawa Status: ready -->
+<!-- CREDITS: haruki,elf,mumumu -->
<refentry xml:id="function.preg-split" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>preg_split</refname>
@@ -50,8 +50,6 @@
<parameter>limit</parameter> 個の部分文字列を返します。
残りの文字列は、最後の部分文字列に含めて返されます。
<parameter>limit</parameter> が -1 あるいは 0 の場合は「制限が無い」ことを意味します。
- 制限を指定せずに
- <parameter>flags</parameter> パラメータを指定したい場合などに &null; を使用します。
</para>
</listitem>
</varlistentry>