note 36567 added to function.str-word-count
| From: | Artimis at rn2 dot php dot net | Date: | Wed, 15 Oct 2003 06:32:06 +0000 |
| Subject: | note 36567 added to function.str-word-count | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-58604@lists.php.net to get a copy of this message | ||
Never use this function to count/separate alphanumeric words, it will just split them up words to
words, numbers to numbers. You could refer to another function "preg_split" when
splitting alphanumeric words. It works with Chinese characters as well.
----
Manual Page -- http://www.php.net/manual/en/function.str-word-count.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+36567
Delete -- http://master.php.net/manage/user-notes.php?action=delete+36567&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+36567&report=yes
Search -- http://master.php.net/manage/user-notes.php