diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2002-10-17 22:44:44 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2002-10-17 22:44:44 +0000 |
| commit | 30c16baac27b0e74ce900d9ffdd076b381ad0a0d (patch) | |
| tree | e825cf6b3bd90dd5f7e92a2a606d776429effbfe /ext/standard/string.c | |
| parent | 56f744e0df9551be07b05ac950c44dfd7c2963aa (diff) | |
| download | php-git-30c16baac27b0e74ce900d9ffdd076b381ad0a0d.tar.gz | |
Renamed word_count to str_word_count to comply with naming conventions.
Thanks Andi, for catching this oversight.
Diffstat (limited to 'ext/standard/string.c')
| -rw-r--r-- | ext/standard/string.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c index 52bf54dbbe..80d55eec38 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -4027,7 +4027,7 @@ PHP_FUNCTION(str_shuffle) } /* }}} */ -/* {{{ 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 @@ -4038,7 +4038,7 @@ PHP_FUNCTION(str_shuffle) 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; |
