php-src/ext/mbstring/tests
Nikita Popov 5582490bf2 Normalize mb_ereg() return value
mb_ereg()/mb_eregi() currently have an inconsistent return value
based on whether the $matches parameter is passed or not:

> Returns the byte length of the matched string if a match for
> pattern was found in string, or FALSE if no matches were found
> or an error occurred.
>
> If the optional parameter regs was not passed or the length of
> the matched string is 0, this function returns 1.

Coupling this behavior to the $matches parameter doesn't make sense
-- we know the match length either way, there is no technical
reason to distinguish them. However, returning the match length
is not particularly useful either, especially due to the need to
convert 0-length into 1-length to satisfy "truthy" checks. We
could always return 1, which would kind of match the behavior of
preg_match() -- however, preg_match() actually returns the number
of matches, which is 0 or 1 for preg_match(), while false signals
an error. However, mb_ereg() returns false both for no match and
for an error. This would result in an odd 1|false return value.

The patch canonicalizes mb_ereg() to always return a boolean,
where true indicates a match and false indicates no match or error.
This also matches the behavior of the mb_ereg_match() and
mb_ereg_search() functions.

This fixes the default value integrity violation in PHP 8.

Closes GH-6331.
2020-10-13 20:40:55 +02:00
..
bug25140.phpt
bug26639.phpt Refactor mbstring (incompleted) 2014-03-24 12:40:07 +08:00
bug28220.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug30549.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug31911.phpt
bug40685.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
bug43840.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
bug43841.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
bug43993.phpt
bug43994.phpt Promote some warnings in MBString Regexes 2020-09-09 14:55:07 +02:00
bug43998.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
bug45239.phpt Remove some uses of deprecated internal_encoding settings in tests 2019-04-17 14:24:11 +02:00
bug45722.phpt
bug45923.phpt Improve some TypeError and ValueError messages 2020-04-14 14:38:45 +02:00
bug46806.phpt Fix typos in mbstring tests 2020-09-02 20:48:22 +02:00
bug46843.phpt
bug47399.phpt
bug48645.phpt
bug48697.phpt Require second argument on (mb_)parse_str() 2019-01-28 15:58:24 +01:00
bug49354.phpt Promote a few remaining errors in ext/standard 2020-09-15 14:26:16 +02:00
bug49528.phpt
bug49536.phpt MFH: fixed test case failures. 2011-09-11 12:12:48 +00:00
bug52681.phpt Run tidy 2020-09-18 14:28:32 +02:00
bug52981.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug54494.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug60306.phpt Fixed bug #60306 (Characters lost while converting from cp936 to utf8) 2011-11-18 08:50:29 +00:00
bug62545.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
bug62934.phpt Add missing SKIPIF sections 2018-02-03 13:54:34 +01:00
bug63447_001.phpt Fixed bug #63447 (max_input_vars doesn't filter variables when mbstring.encoding_translation = On) 2012-11-07 17:05:24 +08:00
bug63447_002.phpt Fixed bug #63447 (max_input_vars doesn't filter variables when mbstring.encoding_translation = On) 2012-11-07 17:05:24 +08:00
bug63447_003.phpt Fixed bug #63447 (max_input_vars doesn't filter variables when mbstring.encoding_translation = On) 2012-11-07 17:05:24 +08:00
bug65045.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug65544.phpt Add missing SKIPIF sections 2018-02-03 13:54:34 +01:00
bug66797.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
bug66964.phpt var_dump(): Don't skip recursion detection on first level 2020-02-12 11:25:50 +01:00
bug68846.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug69079.phpt Refactor mb_substitute_character() 2020-05-11 17:30:01 +02:00
bug69086.phpt Revert/fix substitution character fallback 2017-08-03 21:53:59 +02:00
bug69151.phpt Promote some warnings in MBString Regexes 2020-09-09 14:55:07 +02:00
bug69267.phpt Add missing SKIPIF sections 2018-02-03 13:54:34 +01:00
bug71298.phpt Add missing SKIPIF sections 2018-02-03 13:54:34 +01:00
bug71606.phpt Fix #71606: Segmentation fault mb_strcut with HTML-ENTITIES 2017-07-23 12:19:27 +02:00
bug72164.phpt Promote some warnings in MBString Regexes 2020-09-09 14:55:07 +02:00
bug72399.phpt Promote some warnings in MBString Regexes 2020-09-09 14:55:07 +02:00
bug72402.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug72691.phpt Fixed SKIPIF when --disable-mbregex is used 2019-03-30 18:28:33 +01:00
bug72693.phpt Fixed SKIPIF when --disable-mbregex is used 2019-03-30 18:28:33 +01:00
bug72694.phpt Fixed SKIPIF when --disable-mbregex is used 2019-03-30 18:28:33 +01:00
bug72710.phpt Fixed SKIPIF when --disable-mbregex is used 2019-03-30 18:28:33 +01:00
bug73532.phpt Fixed SKIPIF when --disable-mbregex is used 2019-03-30 18:28:33 +01:00
bug73646.phpt Promote warnings to errors in str_repeat() 2019-08-23 20:01:19 +02:00
bug75944.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug76319.phpt Remove missing SKIPIF sections for mbstring tests 2018-11-15 12:21:55 -02:00
bug76532.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug76704.phpt Promote unknown encoding throws in encoding array/string list 2020-04-03 10:58:46 +02:00
bug76958.phpt Remove missing SKIPIF sections for mbstring tests 2018-11-15 12:21:55 -02:00
bug76999.phpt Promote some warnings in MBString Regexes 2020-09-09 14:55:07 +02:00
bug77025.phpt Remove missing SKIPIF sections for mbstring tests 2018-11-15 12:21:55 -02:00
bug77165.phpt Add missing SKIPIF (mbstring) 2019-09-04 08:51:03 +02:00
bug77367.phpt Fixed SKIPIF when --disable-mbregex is used 2019-03-30 18:29:49 +01:00
bug77370.phpt Fixed SKIPIF when --disable-mbregex is used 2019-03-30 18:28:33 +01:00
bug77371.phpt Fixed SKIPIF when --disable-mbregex is used 2019-03-30 18:28:33 +01:00
bug77381.phpt Fixed SKIPIF when --disable-mbregex is used 2019-03-30 18:28:33 +01:00
bug77418.phpt Promote some warnings in MBString Regexes 2020-09-09 14:55:07 +02:00
bug77428.phpt Fix typos in mbstring tests 2020-09-02 20:48:22 +02:00
bug77454.phpt Add missing SKIPIF (mbstring) 2019-09-04 08:51:03 +02:00
bug77514.phpt Fixed SKIPIF when --disable-mbregex is used 2019-03-30 18:29:49 +01:00
bug78559.phpt Fix #78559: Heap buffer overflow in mb_eregi 2019-09-23 21:49:55 -07:00
bug78609.phpt Fix #78609: mb_check_encoding() no longer supports stringable objects 2019-09-30 12:42:04 +02:00
bug78633.phpt Normalize mb_ereg() return value 2020-10-13 20:40:55 +02:00
bug79037.phpt Fix bug #79037 (global buffer-overflow in mbfl_filt_conv_big5_wchar) 2020-01-20 21:43:42 -08:00
bug79149.phpt Update mbstring parameter names 2020-09-28 09:51:58 +02:00
bug79154.phpt Fix #79154: mb_convert_encoding() can modify $from_encoding 2020-01-22 10:28:07 +01:00
bug79371.phpt Fix #79371: mb_strtolower (UTF-32LE): stack-buffer-overflow 2020-03-16 22:42:15 -07:00
bug79441.phpt Merge branch 'PHP-7.4' 2020-04-01 04:55:35 +02:00
bug79787.phpt Fix bug #79787 2020-07-08 11:20:58 +02:00
casefold.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
casefolding.phpt Add missing SKIPIF sections 2018-02-03 13:54:34 +01:00
casemapping.phpt Fix typos in mbstring tests 2020-09-02 20:48:22 +02:00
common.inc Reindent phpt files 2020-02-03 22:52:20 +01:00
empty_pattern.phpt Promote some warnings in MBString Regexes 2020-09-09 14:55:07 +02:00
htmlent.phpt Run tidy 2020-09-18 14:28:32 +02:00
illformed_utf_sequences.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
ini_encoding.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
ini_encoding2.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
ini_language.phpt Make sure mbstring.internal_encoding deprecation is always thrown 2020-03-31 10:47:23 +02:00
ini_mbstring_invalid.phpt Only force log startup errors if display_startup_errors disabled 2020-08-05 18:17:00 +02:00
internal_encoding.phpt Add missing SKIPIF (mbstring) 2019-09-04 08:51:03 +02:00
mb_check_encoding.phpt Allow array input for mb_check_encoding() 2016-09-02 14:18:34 +09:00
mb_check_encoding_array.phpt mb_check_encoding()/mb_convert_encoding() - Improve and add recursion detection. 2016-10-15 16:52:17 +09:00
mb_check_encoding_invalid_encodings.phpt Only allow "pass" as input/output encoding 2020-05-07 11:19:14 +02:00
mb_chr.phpt Only allow "pass" as input/output encoding 2020-05-07 11:19:14 +02:00
mb_chr_ord.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
mb_convert_case_various_mode.phpt Consolidate the usage of "either" and "one of" in error messages 2020-09-20 19:41:47 +02:00
mb_convert_encoding.phpt Update mbstring parameter names 2020-09-28 09:51:58 +02:00
mb_convert_encoding_array.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_convert_encoding_array2.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_convert_encoding_basic.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_convert_encoding_empty_encoding_list.phpt Update mbstring parameter names 2020-09-28 09:51:58 +02:00
mb_convert_encoding_failed_detection.phpt Return false from failed mb_convert_variables() 2020-05-07 10:16:46 +02:00
mb_convert_encoding_leak.phpt Add missing SKIPIF (mbstring) 2019-09-04 08:51:03 +02:00
mb_convert_encoding_stateful.phpt
mb_convert_kana.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
mb_convert_variables.phpt Fix typos in mbstring tests 2020-09-02 20:48:22 +02:00
mb_convert_variables_empty_encoding_list.phpt Update mbstring parameter names 2020-09-28 09:51:58 +02:00
mb_decode_mimeheader_basic.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_decode_mimeheader_variation2.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_decode_mimeheader_variation3.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_decode_numericentity.phpt Update mbstring parameter names 2020-09-28 09:51:58 +02:00
mb_detect_encoding.phpt Update mbstring parameter names 2020-09-28 09:51:58 +02:00
mb_detect_encoding_empty_encoding_list.phpt Update mbstring parameter names 2020-09-28 09:51:58 +02:00
mb_detect_order.phpt Promote unknown encoding throws in encoding array/string list 2020-04-03 10:58:46 +02:00
mb_detect_order_empty_encoding_list.phpt Promote some warnings to ValueError in mbstring 2020-04-05 01:44:38 +02:00
mb_encode_mimeheader_basic.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_encode_mimeheader_basic2.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_encode_mimeheader_basic3.phpt Fix typos in mbstring tests 2020-09-02 20:48:22 +02:00
mb_encode_mimeheader_indent.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_encode_mimeheader_variation6.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_encode_numericentity.phpt Update mbstring parameter names 2020-09-28 09:51:58 +02:00
mb_encoding_aliases.phpt Convert some unknown encoding warnings to ValueErrors in ext/mbstring 2020-03-31 16:34:18 +02:00
mb_ereg-compat-01.phpt
mb_ereg-compat-02.phpt Normalize mb_ereg() return value 2020-10-13 20:40:55 +02:00
mb_ereg.phpt Normalize mb_ereg() return value 2020-10-13 20:40:55 +02:00
mb_ereg1.phpt Promote some warnings in MBString Regexes 2020-09-09 14:55:07 +02:00
mb_ereg2.phpt Adjust tests for zpp TypeError change 2019-03-11 11:32:20 +01:00
mb_ereg_basic.phpt Normalize mb_ereg() return value 2020-10-13 20:40:55 +02:00
mb_ereg_dupnames.phpt adds support for named captures to mb_ereg & mb_ereg_search 2018-07-06 23:34:54 +02:00
mb_ereg_match_basic.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_ereg_named_subpatterns.phpt adds support for named captures to mb_ereg & mb_ereg_search 2018-07-06 23:34:54 +02:00
mb_ereg_replace-compat-01.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
mb_ereg_replace-compat-02.phpt
mb_ereg_replace-compat-03.phpt
mb_ereg_replace-compat-04.phpt
mb_ereg_replace-compat-05.phpt
mb_ereg_replace-compat-06.phpt
mb_ereg_replace-compat-07.phpt
mb_ereg_replace-compat-08.phpt
mb_ereg_replace-compat-09.phpt
mb_ereg_replace-compat-10.phpt
mb_ereg_replace-compat-11.phpt
mb_ereg_replace-compat-12.phpt
mb_ereg_replace-compat-13.phpt
mb_ereg_replace.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
mb_ereg_replace_basic.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_ereg_replace_callback.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
mb_ereg_replace_named_subpatterns.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
mb_ereg_replace_variation1.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_ereg_search.phpt Remove executable permission on phpt 2012-10-10 10:27:49 +08:00
mb_ereg_search_invalid_pattern.phpt Add SKIPIF to test requiring mbregex 2020-01-30 11:20:42 +01:00
mb_ereg_search_named_subpatterns_1.phpt Partially revert "Adapt test cases for Oniguruma 6.9.4" 2019-11-29 23:40:30 +01:00
mb_ereg_search_named_subpatterns_2.phpt Partially revert "Adapt test cases for Oniguruma 6.9.4" 2019-11-29 23:40:30 +01:00
mb_ereg_search_pos.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
mb_ereg_search_regs.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
mb_ereg_search_setpos.phpt Update mbstring parameter names 2020-09-28 09:51:58 +02:00
mb_ereg_search_syntax.phpt Add mbregex skipif 2020-06-17 09:35:02 +02:00
mb_ereg_search_xxx.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
mb_ereg_variation3.phpt Normalize mb_ereg() return value 2020-10-13 20:40:55 +02:00
mb_ereg_variation4.phpt Normalize mb_ereg() return value 2020-10-13 20:40:55 +02:00
mb_ereg_variation5.phpt Normalize mb_ereg() return value 2020-10-13 20:40:55 +02:00
mb_ereg_variation6.phpt Normalize mb_ereg() return value 2020-10-13 20:40:55 +02:00
mb_ereg_variation7.phpt Normalize mb_ereg() return value 2020-10-13 20:40:55 +02:00
mb_eregi.phpt Normalize mb_ereg() return value 2020-10-13 20:40:55 +02:00
mb_eregi_replace.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
mb_get_info.phpt Only force log startup errors if display_startup_errors disabled 2020-08-05 18:17:00 +02:00
mb_http_input.phpt Consolidate the usage of "either" and "one of" in error messages 2020-09-20 19:41:47 +02:00
mb_http_input_pass.phpt Handle null encoding in mb_http_input() 2020-09-04 17:15:35 +02:00
mb_http_output.phpt Convert some unknown encoding warnings to ValueErrors in ext/mbstring 2020-03-31 16:34:18 +02:00
mb_internal_encoding.phpt Convert some unknown encoding warnings to ValueErrors in ext/mbstring 2020-03-31 16:34:18 +02:00
mb_internal_encoding_basic.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_internal_encoding_basic2.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_internal_encoding_error2.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_internal_encoding_ini_basic2.phpt Only force log startup errors if display_startup_errors disabled 2020-08-05 18:17:00 +02:00
mb_internal_encoding_ini_invalid_encoding.phpt Only force log startup errors if display_startup_errors disabled 2020-08-05 18:17:00 +02:00
mb_internal_encoding_variation2.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_language.phpt Promote some warnings to ValueError in mbstring 2020-04-05 01:44:38 +02:00
mb_list_encodings.phpt
mb_ord.phpt Standardize mbstring and string on using 'string' as a parameter name. 2020-09-21 12:06:50 +02:00
mb_output_handler_euc_jp.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
mb_output_handler_pass.phpt Only allow "pass" as input/output encoding 2020-05-07 11:19:14 +02:00
mb_output_handler_pattern-01.phpt Remove some uses of deprecated internal_encoding settings in tests 2019-04-17 14:24:11 +02:00
mb_output_handler_pattern-02.phpt Remove some uses of deprecated internal_encoding settings in tests 2019-04-17 14:24:11 +02:00
mb_output_handler_pattern-03.phpt Remove some uses of deprecated internal_encoding settings in tests 2019-04-17 14:24:11 +02:00
mb_output_handler_pattern-04.phpt Remove some uses of deprecated internal_encoding settings in tests 2019-04-17 14:24:11 +02:00
mb_output_handler_pattern-05.phpt Remove some uses of deprecated internal_encoding settings in tests 2019-04-17 14:24:11 +02:00
mb_output_handler_pattern-06.phpt Remove some uses of deprecated internal_encoding settings in tests 2019-04-17 14:24:11 +02:00
mb_output_handler_pattern-07.phpt Remove some uses of deprecated internal_encoding settings in tests 2019-04-17 14:24:11 +02:00
mb_output_handler_pattern-08.phpt Remove some uses of deprecated internal_encoding settings in tests 2019-04-17 14:24:11 +02:00
mb_output_handler_pattern-09.phpt Remove some uses of deprecated internal_encoding settings in tests 2019-04-17 14:24:11 +02:00
mb_output_handler_pattern-10.phpt Remove some uses of deprecated internal_encoding settings in tests 2019-04-17 14:24:11 +02:00
mb_output_handler_pattern-11.phpt Remove some uses of deprecated internal_encoding settings in tests 2019-04-17 14:24:11 +02:00
mb_output_handler_pattern-12.phpt Remove some uses of deprecated internal_encoding settings in tests 2019-04-17 14:24:11 +02:00
mb_output_handler_runtime_ini_alteration-01.phpt Make sure mbstring.internal_encoding deprecation is always thrown 2020-03-31 10:47:23 +02:00
mb_output_handler_runtime_ini_alteration-02.phpt Make sure mbstring.internal_encoding deprecation is always thrown 2020-03-31 10:47:23 +02:00
mb_output_handler_shift_jis.phpt Remove some uses of deprecated internal_encoding settings in tests 2019-04-17 14:24:11 +02:00
mb_parse_str.phpt Replace EXPECTF when possible 2020-06-29 21:31:44 +02:00
mb_parse_str02.phpt Replace EXPECTF when possible 2020-06-29 21:31:44 +02:00
mb_preferred_mime_name.phpt Only allow "pass" as input/output encoding 2020-05-07 11:19:14 +02:00
mb_regex_encoding_basic.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_regex_encoding_error2.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_regex_encoding_variation2.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_regex_set_options.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
mb_scrub.phpt pull-request/1099 2016-08-10 14:09:48 +09:00
mb_send_mail01.phpt Run tidy 2020-09-18 14:28:32 +02:00
mb_send_mail02.phpt Run tidy 2020-09-18 14:28:32 +02:00
mb_send_mail03.phpt Run tidy 2020-09-18 14:28:32 +02:00
mb_send_mail04.phpt Run tidy 2020-09-18 14:28:32 +02:00
mb_send_mail05.phpt Run tidy 2020-09-18 14:28:32 +02:00
mb_send_mail06.phpt Run tidy 2020-09-18 14:28:32 +02:00
mb_send_mail07.phpt Run tidy 2020-09-18 14:28:32 +02:00
mb_send_mail_null_bytes.phpt Update mbstring parameter names 2020-09-28 09:51:58 +02:00
mb_split-compat-01.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
mb_split.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
mb_split_empty_match.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
mb_str_functions_opt-parameter.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
mb_str_split_error_conditions.phpt Update mbstring parameter names 2020-09-28 09:51:58 +02:00
mb_str_split_jp.phpt Implement mb_str_split() 2019-02-12 16:42:51 +01:00
mb_str_split_ru.phpt Implement mb_str_split() 2019-02-12 16:42:51 +01:00
mb_str_split_utf8_utf16.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
mb_str_unknown_encoding.phpt Update mbstring parameter names 2020-09-28 09:51:58 +02:00
mb_strcut.phpt Promote a few remaining errors in ext/standard 2020-09-15 14:26:16 +02:00
mb_strcut_missing_boundary_check.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
mb_strcut_negative_length.phpt Add test for negative lengths in mb_strcut() 2017-11-22 22:47:55 +01:00
mb_strimwidth.phpt Promote some warnings to ValueError in mbstring 2020-04-05 01:44:38 +02:00
mb_stripos.phpt Replace EXPECTF when possible 2020-06-29 21:31:44 +02:00
mb_stripos_basic.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_stripos_basic2.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_stripos_empty_needle.phpt Improve some TypeError and ValueError messages 2020-04-14 14:38:45 +02:00
mb_stripos_error2.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_stripos_invalid_offset.phpt Improve some TypeError and ValueError messages 2020-04-14 14:38:45 +02:00
mb_stripos_variation5_Bug45923.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_stristr_basic.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_stristr_empty_needle.phpt Allow empty needles in mb_strpos and mb_strstr function family. 2020-01-07 22:53:35 +01:00
mb_stristr_error2.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_stristr_variation5.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strlen.phpt Convert some unknown encoding warnings to ValueErrors in ext/mbstring 2020-03-31 16:34:18 +02:00
mb_strlen_basic.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strlen_error2.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strlen_variation3.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strpos.phpt Convert warnings to ValueError in mb_strpos function family. 2020-01-24 23:59:22 +01:00
mb_strpos_basic.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strpos_empty_needle.phpt Improve some TypeError and ValueError messages 2020-04-14 14:38:45 +02:00
mb_strpos_error2.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strpos_invalid_offset.phpt Improve some TypeError and ValueError messages 2020-04-14 14:38:45 +02:00
mb_strpos_offset_errors.phpt Improve some TypeError and ValueError messages 2020-04-14 14:38:45 +02:00
mb_strpos_variation5.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strrchr_basic.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strrchr_empty_needle.phpt Allow empty needle in mb_strrchr() 2020-01-25 12:22:01 +01:00
mb_strrchr_error2.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strrchr_variation5.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strrchr_variation6.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strrichr_basic.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strrichr_error2.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strrichr_variation5.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strripos_basic.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strripos_basic2.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strripos_empty_needle.phpt Improve some TypeError and ValueError messages 2020-04-14 14:38:45 +02:00
mb_strripos_error2.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strripos_variation5_Bug45923.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strrpos_basic.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strrpos_empty_needle.phpt Improve some TypeError and ValueError messages 2020-04-14 14:38:45 +02:00
mb_strrpos_error2.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strstr.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
mb_strstr_basic.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strstr_empty_needle.phpt Allow empty needles in mb_strpos and mb_strstr function family. 2020-01-07 22:53:35 +01:00
mb_strstr_error2.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strstr_variation5.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strstr_variation6.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strtolower_basic.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strtolower_error2.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strtolower_variation3.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strtolower_variation4.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strtoupper_basic.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strtoupper_error2.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strtoupper_variation3.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strtoupper_variation4.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_strwidth.phpt Additional tests for mbstring extension 2020-08-31 23:15:57 +02:00
mb_substitute_character.phpt Review the usage of apostrophes in error messages 2020-07-10 21:05:28 +02:00
mb_substitute_character_basic.phpt Review the usage of apostrophes in error messages 2020-07-10 21:05:28 +02:00
mb_substitute_character_variation2.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_substitute_character_variation_strict_types.phpt Review the usage of apostrophes in error messages 2020-07-10 21:05:28 +02:00
mb_substitute_character_variation_weak_types.phpt Review the usage of apostrophes in error messages 2020-07-10 21:05:28 +02:00
mb_substr.phpt Remove mbstring.func_overload 2019-01-28 15:58:23 +01:00
mb_substr_basic.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_substr_count.phpt Refactor mb_substr_count() 2020-04-02 22:40:00 +02:00
mb_substr_count_basic.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_substr_count_error2.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_substr_count_variation4.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_substr_error2.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_substr_variation4.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_substr_variation5.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_substr_variation6.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mb_substr_variation7.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
mbregex_stack_limit.phpt Normalize mb_ereg() return value 2020-10-13 20:40:55 +02:00
mbregex_stack_limit2.phpt Add missing skip checks 2019-11-29 23:50:05 +01:00
php_gr_jp_10830.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
php_gr_jp_16242.phpt Make sure mbstring.internal_encoding deprecation is always thrown 2020-03-31 10:47:23 +02:00
php_gr_jp_dev_884-1.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
php_gr_jp_dev_884-2.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
pictogram1.phpt MFH: fixed a bug in convertion table and added test script for emoji. 2011-09-23 11:11:38 +00:00
retry_limit.phpt Normalize mb_ereg() return value 2020-10-13 20:40:55 +02:00
simpletest.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
skipif.inc Explain why the test was skipped 2018-09-16 17:31:06 -03:00
zend_multibyte-01.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
zend_multibyte-02.phpt Remove some uses of deprecated internal_encoding settings in tests 2019-04-17 14:24:11 +02:00
zend_multibyte-03.phpt Remove some uses of deprecated internal_encoding settings in tests 2019-04-17 14:24:11 +02:00
zend_multibyte-04.phpt Remove some uses of deprecated internal_encoding settings in tests 2019-04-17 14:24:11 +02:00
zend_multibyte-05.phpt Remove some uses of deprecated internal_encoding settings in tests 2019-04-17 14:24:11 +02:00
zend_multibyte-06.phpt Remove some uses of deprecated internal_encoding settings in tests 2019-04-17 14:24:11 +02:00
zend_multibyte-07.phpt Remove some uses of deprecated internal_encoding settings in tests 2019-04-17 14:24:11 +02:00
zend_multibyte-08.phpt Remove some uses of deprecated internal_encoding settings in tests 2019-04-17 14:24:11 +02:00
zend_multibyte-09.phpt Remove some uses of deprecated internal_encoding settings in tests 2019-04-17 14:24:11 +02:00
zend_multibyte-10.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
zend_multibyte-11.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
zend_multibyte-12.phpt Add missing SKIPIF sections 2018-02-03 13:54:34 +01:00
zend_multibyte-13.phpt Remove some uses of deprecated internal_encoding settings in tests 2019-04-17 14:24:11 +02:00
zend_multibyte-14.phpt Remove some uses of deprecated internal_encoding settings in tests 2019-04-17 14:24:11 +02:00
zend_multibyte-15.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
zend_multibyte-16.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00