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/php_string.h | |
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/php_string.h')
-rw-r--r-- | ext/standard/php_string.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/php_string.h b/ext/standard/php_string.h index 734bf17627..0acb3f6543 100644 --- a/ext/standard/php_string.h +++ b/ext/standard/php_string.h @@ -83,6 +83,7 @@ PHP_FUNCTION(substr_count); PHP_FUNCTION(str_pad); PHP_FUNCTION(sscanf); PHP_FUNCTION(str_shuffle); +PHP_FUNCTION(word_count); #ifdef HAVE_STRCOLL PHP_FUNCTION(strcoll); #endif |