]> granicus.if.org Git - php/commit
Promote some warnings to ValueError in mbstring
authorGeorge Peter Banyard <girgias@php.net>
Fri, 3 Apr 2020 17:14:42 +0000 (19:14 +0200)
committerGeorge Peter Banyard <girgias@php.net>
Sat, 4 Apr 2020 23:44:38 +0000 (01:44 +0200)
commit07062e1fc58b09e459eff2265b89985124e3ada8
tree0eeb3f64c7bb8cfcaa596ca46f37025049748702
parentbd52b62ae0bba8490a15e6d09d234f93784e1d2d
Promote some warnings to ValueError in mbstring

Promoted warnings are:
 * Empty encoding lists
 * Unknown language
 * Start and Width out of bound
ext/mbstring/mbstring.c
ext/mbstring/tests/mb_convert_encoding_empty_encoding_list.phpt [new file with mode: 0644]
ext/mbstring/tests/mb_convert_variables_empty_encoding_list.phpt [new file with mode: 0644]
ext/mbstring/tests/mb_detect_encoding_empty_encoding_list.phpt [new file with mode: 0644]
ext/mbstring/tests/mb_detect_order_empty_encoding_list.phpt [new file with mode: 0644]
ext/mbstring/tests/mb_language.phpt
ext/mbstring/tests/mb_strimwidth.phpt