]> granicus.if.org Git - php/commit
Fix #76704: mb_detect_order return value varies based on argument type
authorChristoph M. Becker <cmbecker69@gmx.de>
Sat, 4 Aug 2018 10:51:57 +0000 (12:51 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Sat, 4 Aug 2018 10:51:57 +0000 (12:51 +0200)
commitc00f5e6531a3f72bb8f7c107d2c390fadad736a0
tree50522d94ecefc3af839e9269df2432582b20f939
parentb71a5038448baa79cae72fadb22a4bfb4c2465a9
Fix #76704: mb_detect_order return value varies based on argument type

php_mb_parse_encoding_list() and php_mb_parse_encoding_array() are
supposed to return SUCCESS and FAILURE, not 1 and 0, respectively.
NEWS
ext/mbstring/mbstring.c
ext/mbstring/tests/bug76704.phpt [new file with mode: 0644]