PHP_FE(stristr, NULL)
PHP_FE(strrchr, NULL)
PHP_FE(str_shuffle, NULL)
- PHP_FE(word_count, NULL)
+ PHP_FE(str_word_count, NULL)
#ifdef HAVE_STRCOLL
PHP_FE(strcoll, NULL)
}
/* }}} */
-/* {{{ proto void word_count(string str, [int format])
+/* {{{ proto void str_word_count(string str, [int format])
Counts the number of words inside a string. If format of 1 is specified,
then the function will return an array containing all the words
found inside the string. If format of 2 is specified, then the function
string containing alphabetic characters, which also may contain, but not start
with "'" and "-" characters.
*/
-PHP_FUNCTION(word_count)
+PHP_FUNCTION(str_word_count)
{
zval **str, **o_format;
char *s, *e, *p, *buf;