History log of /PHP-8.1/ext/bz2/tests/bzerr_functions_on_invalid_stream.phpt (Results 1 – 2 of 2)
Revision Date Author Comments
# c19c3803 05-Nov-2021 Nikita Popov

Promote incorrect bzerr stream type to TypeError

This restores the signature we originally promised for PHP-8.0,
without the spurious false return type.


# 9b2a3c1c 05-Nov-2021 Nikita Popov

Fix stubs for bzerr* functions

These can return false if the stream is not a bz2 stream. Also
emit a warning in this case, this should not be failing silently.