Skip to content

Commit edc593d

Browse files
authored
Update mbstring.c
1 parent cb82c1b commit edc593d

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
@@ -2719,6 +2719,9 @@ PHP_FUNCTION(mb_str_ends)
27192719
case 8:
27202720
php_error_docref(NULL, E_NOTICE, "Argument is empty");
27212721
break;
2722+
case 16:
2723+
php_error_docref(NULL, E_WARNING, "Unknown needle, haystack error");
2724+
break;
27222725
default:
27232726
php_error_docref(NULL, E_WARNING, "Unknown error in mb_strpos");
27242727
break;

0 commit comments

Comments
 (0)