History log of /PHP-8.2/ext/mbstring/tests/mb_check_encoding_invalid_encodings.phpt (Results 1 – 4 of 4)
Revision Date Author Comments
# 39131219 11-Jun-2021 Nikita Popov

Migrate more SKIPIF -> EXTENSIONS (#7139)

This is a mix of more automated and manual migration. It should remove all applicable extension_loaded() checks outside of skipif.inc files.


# 226d9dd3 07-May-2020 Nikita Popov

Only allow "pass" as input/output encoding

"pass" is not a real encoding, it just means "don't perform any
conversion". Using it as an internal encoding or passing it to
any of the m

Only allow "pass" as input/output encoding

"pass" is not a real encoding, it just means "don't perform any
conversion". Using it as an internal encoding or passing it to
any of the mbstring() function will not work (and on master commonly
assert).

show more ...


# 229dff9f 31-Mar-2020 George Peter Banyard

Promote unsupported encoding warnings to ValueError


# 21227dc1 31-Mar-2020 George Peter Banyard

Use php_mb_get_encoding instead of mbfl_name2encoding to get encoding

This reduces the number of places where the error message template is used.
Also promote the mb_check_encoding() war

Use php_mb_get_encoding instead of mbfl_name2encoding to get encoding

This reduces the number of places where the error message template is used.
Also promote the mb_check_encoding() warning to ValueError and add a test to cover the behaviour.

show more ...