Closed MaSpeng closed 2 years ago
Nice! I'm actually just waiting for this package to get 8.1 support, to be able to drop 7.4 😊👍 Thank you!
What's the reason for replacing all PHP mb_
functions with imap_utf7_
?
Is this also backward compatible or does it break in any PHP version?
@Sebi94nbg The reason for the exchange of the mb_
functions with the imap_utf7_
functions where the encoding decoding issues which arises with PHP 8.1 and they are the native solution for encoding and decoding contents for IMAP, afaik.
Regarding compatibility, the imap_utf7_
functions are available since PHP 4.
I successfully ran the unit tests using PHP with versions 7.2.34, 7.3.33, 7.4.26, 8.0.13, 8.1.0.
This pull request will provide compatibility with PHP 8.1.
Closes #624