mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
added normal return value description for explode - fixes bug #51937
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299897 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
fe5e528ec9
commit
a1bc631b0f
1 changed files with 8 additions and 3 deletions
|
@ -72,12 +72,17 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
If <parameter>delimiter</parameter> is an empty string (""),
|
||||
Returns an <type>array</type> of <type>string</type>s
|
||||
created by splitting the <parameter>string</parameter> parameter on
|
||||
boundaries formed by the <parameter>delimiter</parameter>.
|
||||
</para>
|
||||
<para>
|
||||
If <parameter>delimiter</parameter> is an empty <type>string</type> (""),
|
||||
<function>explode</function> will return &false;.
|
||||
If <parameter>delimiter</parameter> contains a value that is not
|
||||
contained in <parameter>string</parameter> and a negative
|
||||
<parameter>limit</parameter> is used, then an empty array will be
|
||||
returned. For any other <parameter>limit</parameter>, an array containing
|
||||
<parameter>limit</parameter> is used, then an empty <type>array</type>will be
|
||||
returned, otherwise an <type>array</type> containing
|
||||
<parameter>string</parameter> will be returned.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
|
Loading…
Reference in a new issue