summaryrefslogtreecommitdiff
path: root/ext/standard/php_string.h
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2002-10-17 03:27:19 +0000
committerIlia Alshanetsky <iliaa@php.net>2002-10-17 03:27:19 +0000
commit47b57f256995302ab968b4c94252dd22283fe0d0 (patch)
tree8b14cac21dc65496789867a63655ae64697efb6f /ext/standard/php_string.h
parent8aaa004980d00f1b01ea62ed9663a59995a24e85 (diff)
downloadphp-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.h1
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