summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/standard/string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c
index 5b0df571d6..b4a6b7c17e 100644
--- a/ext/standard/string.c
+++ b/ext/standard/string.c
@@ -1881,6 +1881,7 @@ PHP_FUNCTION(str_starts_with)
RETURN_BOOL(memcmp(ZSTR_VAL(haystack), ZSTR_VAL(needle), ZSTR_LEN(needle)) == 0);
}
+/* }}} */
/* {{{ proto bool str_ends_with(string haystack, string needle)
Checks if haystack ends with needle */
@@ -1901,6 +1902,7 @@ PHP_FUNCTION(str_ends_with)
ZSTR_VAL(haystack) + ZSTR_LEN(haystack) - ZSTR_LEN(needle),
ZSTR_VAL(needle), ZSTR_LEN(needle)) == 0);
}
+/* }}} */
/* {{{ proto string strchr(string haystack, string needle)
An alias for strstr */
@@ -5857,7 +5859,6 @@ PHP_FUNCTION(str_shuffle)
}
/* }}} */
-
/* {{{ proto array|int str_word_count(string str, [int format [, string charlist]])
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
@@ -6127,7 +6128,6 @@ static zend_string *php_utf8_decode(const char *s, size_t len)
}
/* }}} */
-
/* {{{ proto string utf8_encode(string data)
Encodes an ISO-8859-1 string to UTF-8 */
PHP_FUNCTION(utf8_encode)