ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> phpdoc
phpdoc
[PHP-DOC] preg_split() documentation improvement
by Shelby Moore other posts by this author
Aug 28 2003 12:20PM messages near this date
[PHP-DOC] cvs: phpdoc /en/reference/mbstring ini.xml reference.xml | [PHP-DOC] Web Site 'notes'
http://www.php.net/manual/en/function.preg-split.php

Note when using PREG_SPLIT_DELIM_CAPTURE, "limit" does include the count of parenthesized de
limiter strings returned.

More succinctly, if "limit" != 1, "limit" / 2 is the maximum number of splits you allow.

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved