note 17545 added to function.preg-split
| From: | merwetta at php2 dot chek dot com | Date: | Thu, 13 Dec 2001 16:31:07 +0000 |
| Subject: | note 17545 added to function.preg-split | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-22584@lists.php.net to get a copy of this message | ||
On a FreeBSD server running PHP 4.03, I found that:
1) the limit had to be specified in order to use a flag
2) when using the PREG_SPLIT_NO_EMPTY flag, all matches were returned regardless of the limit (as if
the limit were '-1')
--
http://www.php.net/manual/en/function.preg-split.php
http://master.php.net/manage/user-notes.php?action=edit+17545
http://master.php.net/manage/user-notes.php?action=delete+17545
http://master.php.net/manage/user-notes.php?action=reject+17545