Skip to content

Commit 55d7de5

Browse files
committed
Fix mb_ucfirst from MB_CASE_UPPER to MB_CASE_TITLE
1 parent 09a3f9b commit 55d7de5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mbstring/mbstring.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2983,7 +2983,7 @@ PHP_FUNCTION(mb_ucfirst)
29832983
RETURN_THROWS();
29842984
}
29852985

2986-
RETVAL_STR(php_mb_ulcfirst(str, PHP_UNICODE_CASE_UPPER, enc));
2986+
RETVAL_STR(php_mb_ulcfirst(str, PHP_UNICODE_CASE_TITLE, enc));
29872987
}
29882988

29892989
PHP_FUNCTION(mb_lcfirst)

0 commit comments

Comments
 (0)