[PHP-DOC] cvs: phpdoc /en/reference/pcre/functions preg-split.xml

2007-02-05 Thread Martin Samesch
samesch Mon Feb  5 21:19:25 2007 UTC

  Modified files:  
/phpdoc/en/reference/pcre/functions preg-split.xml 
  Log:
  Removed BETA from PHP version
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcre/functions/preg-split.xml?r1=1.13&r2=1.14&diff_format=u
Index: phpdoc/en/reference/pcre/functions/preg-split.xml
diff -u phpdoc/en/reference/pcre/functions/preg-split.xml:1.13 
phpdoc/en/reference/pcre/functions/preg-split.xml:1.14
--- phpdoc/en/reference/pcre/functions/preg-split.xml:1.13  Fri Feb  2 
22:11:46 2007
+++ phpdoc/en/reference/pcre/functions/preg-split.xml   Mon Feb  5 21:19:24 2007
@@ -1,5 +1,5 @@
 
-
+
 
  
   preg_split
@@ -129,7 +129,7 @@

   
   
-   4 Beta 3
+   4.0.0

 The flags parameter was added



[PHP-DOC] cvs: phpdoc /en/reference/pcre/functions preg-split.xml

2006-02-07 Thread Nuno Lopes
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 @@
 
-
+
 
   

@@ -65,7 +65,16 @@
 

   
-
+ 
+
+ 
+  
+   If you don't need the power of regular expressions, you can choose
+   faster (albeit simpler) alternatives like explode
+   or str_split.
+  
+ 
+ 
  
  
   preg_split example : Get the parts of a 
search string


[PHP-DOC] cvs: phpdoc /en/reference/pcre/functions preg-split.xml

2003-07-11 Thread Andrioli Darvin
darvina Fri Jul 11 15:45:00 2003 EDT

  Modified files:  
/phpdoc/en/reference/pcre/functions preg-split.xml 
  Log:
  Added php tags in the examples
  
Index: phpdoc/en/reference/pcre/functions/preg-split.xml
diff -u phpdoc/en/reference/pcre/functions/preg-split.xml:1.6 
phpdoc/en/reference/pcre/functions/preg-split.xml:1.7
--- phpdoc/en/reference/pcre/functions/preg-split.xml:1.6   Mon Jun 16 16:03:02 
2003
+++ phpdoc/en/reference/pcre/functions/preg-split.xml   Fri Jul 11 15:45:00 2003
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -71,9 +71,11 @@
   preg_split example : Get the parts of a search 
string
   
 
   
  
@@ -83,9 +85,11 @@
   Splitting a string into component characters
   
 
   
  
@@ -95,9 +99,11 @@
   Splitting a string into matches and their offsets
   
 
   
   



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] cvs: phpdoc /en/reference/pcre/functions preg-split.xml

2002-05-23 Thread Markus Fischer

mfischerThu May 23 15:34:18 2002 EDT

  Modified files:  
/phpdoc/en/reference/pcre/functions preg-split.xml 
  Log:
  - Document the new PREG_SPLIT_OFFSET_CAPTURE flag.
  
  
Index: phpdoc/en/reference/pcre/functions/preg-split.xml
diff -u phpdoc/en/reference/pcre/functions/preg-split.xml:1.2 
phpdoc/en/reference/pcre/functions/preg-split.xml:1.3
--- phpdoc/en/reference/pcre/functions/preg-split.xml:1.2   Wed Apr 17 02:42:49 
2002
+++ phpdoc/en/reference/pcre/functions/preg-split.xml   Thu May 23 15:34:18 2002
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -57,6 +57,19 @@
  
 

+   
+PREG_SPLIT_OFFSET_CAPTURE
+
+ 
+  If this flag is set, for every occuring match the appendant string
+  offset will also be returned. Note that this changes the return
+  value in an array where very element is an array consisting of the
+  matched string at offset 0 and it's string offset
+  into subject at offset 1.
+  This flag is available since 4.3.0.
+ 
+
+   
   
 
 
@@ -81,6 +94,46 @@
 print_r($chars);
 ]]>
  
+
+
+
+
+ Splitting a string into matches and their offsets.
+ 
+
+ 
+ 
+ will yield
+ 
+ 
+
+