History log of /PHP-8.2/ext/mbstring/tests/mb_convert_encoding_failed_detection.phpt (Results 1 – 4 of 4)
Revision Date Author Comments
# 6600ad60 14-Jun-2021 Nikita Popov

Add some missing EXTENSIONS sections to misc tests


# 97beecc2 06-Sep-2020 Alex Dowad

Add identify filter for UTF-16, UTF-16LE, UTF-16BE

There was one faulty test in the suite which only passed before because UTF-16 had no
identify filter. After this was fixed, it exposed

Add identify filter for UTF-16, UTF-16LE, UTF-16BE

There was one faulty test in the suite which only passed before because UTF-16 had no
identify filter. After this was fixed, it exposed the problem with the test.

show more ...


# 5bfa9598 07-May-2020 Nikita Popov

Return false from failed mb_convert_variables()

If we fail to detect the encoding return false, just like
mb_convert_encoding() does, and the implementation here clearly
intended. Pr

Return false from failed mb_convert_variables()

If we fail to detect the encoding return false, just like
mb_convert_encoding() does, and the implementation here clearly
intended. Previously the "pass" pseudo-incoding was returned.

show more ...


# 71f48260 06-May-2020 Nikita Popov

Fix assertion failure when failing to detect encoding

Looks like prior to 7.3 this just passed the original string
through. Since 7.3 it returns false. Let's stick with that
behavior.