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:
Nuno Lopes 2006-02-07 17:07:22 +00:00
parent 5f10a42677
commit 7177e13973

View file

@ -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>