diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2002-10-17 03:27:19 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2002-10-17 03:27:19 +0000 |
commit | 47b57f256995302ab968b4c94252dd22283fe0d0 (patch) | |
tree | 8b14cac21dc65496789867a63655ae64697efb6f /ext/standard/basic_functions.c | |
parent | 8aaa004980d00f1b01ea62ed9663a59995a24e85 (diff) | |
download | php-git-47b57f256995302ab968b4c94252dd22283fe0d0.tar.gz |
Added word_count() function that allows counting of words inside a string.
The function also allows the user to retrieve all the words from a string.
Diffstat (limited to 'ext/standard/basic_functions.c')
-rw-r--r-- | ext/standard/basic_functions.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 311758adf9..ee1200b384 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -334,6 +334,7 @@ function_entry basic_functions[] = { PHP_FE(stristr, NULL) PHP_FE(strrchr, NULL) PHP_FE(str_shuffle, NULL) + PHP_FE(word_count, NULL) #ifdef HAVE_STRCOLL PHP_FE(strcoll, NULL) |