mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
new function spiliti().
seve -> except // or was this a wrong fix? git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@26830 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
e9a1ab9f9b
commit
3f406f9847
1 changed files with 30 additions and 2 deletions
|
@ -22,6 +22,9 @@
|
|||
<listitem>
|
||||
<simpara><function>split</function></simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara><function>spliti</function></simpara>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
These functions all take a regular expression string as their
|
||||
|
@ -199,7 +202,7 @@ echo ereg_replace( "(( )is)", "\\2was", $string );
|
|||
<paramdef>array <parameter><optional>regs</optional></parameter></paramdef>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
This function is identical to <function>ereg</function> save that this ignores
|
||||
This function is identical to <function>ereg</function> except that this ignores
|
||||
case distinction when matching alphabetic characters.</para>
|
||||
|
||||
<para>
|
||||
|
@ -223,7 +226,7 @@ echo ereg_replace( "(( )is)", "\\2was", $string );
|
|||
<paramdef>string <parameter>string</parameter></paramdef>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
This function is identical to <function>ereg_replace</function> save that
|
||||
This function is identical to <function>ereg_replace</function> except that
|
||||
this ignores case distinction when matching alphabetic characters.</para>
|
||||
|
||||
<para>
|
||||
|
@ -310,6 +313,31 @@ echo "Month: $month; Day: $day; Year: $year<br>\n";
|
|||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<refentry id="function.spliti">
|
||||
<refnamediv>
|
||||
<refname>spliti</refname>
|
||||
<refpurpose>split string into array by regular expression case insensitive</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<funcsynopsis>
|
||||
<funcdef>array <function>split</function></funcdef>
|
||||
<paramdef>string <parameter>pattern</parameter></paramdef>
|
||||
<paramdef>string <parameter>string</parameter></paramdef>
|
||||
<paramdef>int <parameter><optional>limit</optional></parameter></paramdef>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
This function is identical to <function>split</function> except that
|
||||
this ignores case distinction when matching alphabetic characters.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
See also: <function>explode</function> and <function>implode</function>.
|
||||
</para>
|
||||
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
||||
<refentry id="function.sql-regcase">
|
||||
<refnamediv>
|
||||
|
|
Loading…
Reference in a new issue