svn: /phpdoc/en/trunk/reference/pcre/functions/ preg-split.xml
| From: | Peter Cowburn | Date: | Tue, 05 Mar 2013 20:27:18 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/pcre/functions/ preg-split.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-11067@lists.php.net to get a copy of this message | ||
salathe Tue, 05 Mar 2013 20:27:18 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=329662
Log:
CS
Changed paths:
U phpdoc/en/trunk/reference/pcre/functions/preg-split.xml
Modified: phpdoc/en/trunk/reference/pcre/functions/preg-split.xml
===================================================================
--- phpdoc/en/trunk/reference/pcre/functions/preg-split.xml 2013-03-05 17:43:54 UTC (rev 329661)
+++ phpdoc/en/trunk/reference/pcre/functions/preg-split.xml 2013-03-05 20:27:18 UTC (rev 329662)
@@ -147,6 +147,7 @@
// which include " ", \r, \t, \n and \f
$keywords = preg_split("/[\s,]+/", "hypertext language, programming");
print_r($keywords);
+?>
]]>
</programlisting>
&example.outputs;
@@ -171,6 +172,7 @@
$str = 'string';
$chars = preg_split('//', $str, -1, PREG_SPLIT_NO_EMPTY);
print_r($chars);
+?>
]]>
</programlisting>
&example.outputs;