summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/standard/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c
index 39d9bd5e18..c2dfe12d34 100644
--- a/ext/standard/string.c
+++ b/ext/standard/string.c
@@ -2492,7 +2492,7 @@ PHP_FUNCTION(strnatcasecmp)
/* }}} */
-/* {{{ proto int str_count(string haystack, string needle)
+/* {{{ proto int substr_count(string haystack, string needle)
Returns the number of times a substring occurs in the string. */
PHP_FUNCTION(substr_count)
{