nlopess         Tue Feb  7 17:07:23 2006 UTC

  Modified files:              
    /phpdoc/en/reference/pcre/functions preg-split.xml 
  Log:
  fix #36271: add a tip about faster/simpler alternative functions
  
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/pcre/functions/preg-split.xml?r1=1.10&r2=1.11&diff_format=u
Index: phpdoc/en/reference/pcre/functions/preg-split.xml
diff -u phpdoc/en/reference/pcre/functions/preg-split.xml:1.10 
phpdoc/en/reference/pcre/functions/preg-split.xml:1.11
--- phpdoc/en/reference/pcre/functions/preg-split.xml:1.10      Sat Feb 28 
15:13:41 2004
+++ phpdoc/en/reference/pcre/functions/preg-split.xml   Tue Feb  7 17:07:22 2006
@@ -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>

Reply via email to