mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
fix #36271: add a tip about faster/simpler alternative functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@206677 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
5f10a42677
commit
7177e13973
1 changed files with 11 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.10 $ -->
|
||||
<!-- $Revision: 1.11 $ -->
|
||||
<!-- splitted from ./en/functions/pcre.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.preg-split">
|
||||
<refnamediv>
|
||||
|
@ -65,7 +65,16 @@
|
|||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</para>
|
||||
|
||||
<tip>
|
||||
<para>
|
||||
If you don't need the power of regular expressions, you can choose
|
||||
faster (albeit simpler) alternatives like <function>explode</function>
|
||||
or <function>str_split</function>.
|
||||
</para>
|
||||
</tip>
|
||||
|
||||
<para>
|
||||
<example>
|
||||
<title><function>preg_split</function> example : Get the parts of a search string</title>
|
||||
|
|
Loading…
Reference in a new issue