mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
patch to explode suspended till 4.0.1
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@24599 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
e257862d2b
commit
9978853b9a
2 changed files with 6 additions and 14 deletions
|
@ -248,13 +248,10 @@ echo ereg_replace( "(( )is)", "\\2was", $string );
|
|||
</funcsynopsis>
|
||||
<para>
|
||||
Returns an array of strings, each of which is a substring of
|
||||
<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>
|
||||
string formed by splitting it on boundaries formed by the regular
|
||||
expression <parameter>pattern</parameter>. If an error occurs,
|
||||
returns false.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
To get the first five fields from a line from
|
||||
|
|
|
@ -460,15 +460,10 @@ echo "This spans\nmultiple lines. The newlines will be\noutput as well.";
|
|||
<funcdef>array <function>explode</function></funcdef>
|
||||
<paramdef>string <parameter>separator</parameter></paramdef>
|
||||
<paramdef>string <parameter>string</parameter></paramdef>
|
||||
<paramdef>int <parameter><optional>limit</optional></parameter></paramdef>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
Returns an array of strings, each of which is a substring of
|
||||
<parameter>string</parameter> formed by splitting it on boundaries formed
|
||||
by the string <parameter>delim</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>.
|
||||
Returns an array of strings containing the elements separated by
|
||||
<replaceable>separator</replaceable>.
|
||||
<example>
|
||||
<title><function>Explode</function> example</title>
|
||||
<programlisting role="php">
|
||||
|
|
Loading…
Reference in a new issue