mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
updated split() return value description when using parameter limit
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@24720 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
362e870d18
commit
8f07319e88
1 changed files with 7 additions and 4 deletions
|
@ -248,10 +248,13 @@ echo ereg_replace( "(( )is)", "\\2was", $string );
|
|||
</funcsynopsis>
|
||||
<para>
|
||||
Returns an array of strings, each of which is a substring of
|
||||
string formed by splitting it on boundaries formed by the regular
|
||||
expression <parameter>pattern</parameter>. If an error occurs,
|
||||
returns false.
|
||||
</para>
|
||||
<parameter>string</parameter> formed by splitting it on boundaries formed
|
||||
by the regular expression <parameter>pattern</parameter>.
|
||||
If <parameter>limit</parameter> is set, the returned array will contaion a
|
||||
maximum of <parameter>limit</parameter> elements with the last element
|
||||
containing the whole rest of <parameter>string</parameter>.
|
||||
If an error occurs, <function>split</function> returns false.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
To get the first five fields from a line from
|
||||
|
|
Loading…
Reference in a new issue