Skip to content

Commit 6ce0ac1

Browse files
wkhudgins92Will Hudgins
authored andcommitted
Update mbstring.c
1 parent a44574a commit 6ce0ac1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/mbstring/mbstring.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2727,6 +2727,9 @@ PHP_FUNCTION(mb_str_ends)
27272727
case 8:
27282728
php_error_docref(NULL, E_NOTICE, "Argument is empty");
27292729
break;
2730+
case 16:
2731+
php_error_docref(NULL, E_WARNING, "Unknown needle, haystack error");
2732+
break;
27302733
default:
27312734
php_error_docref(NULL, E_WARNING, "Unknown error in mb_strpos");
27322735
break;

0 commit comments

Comments
 (0)