Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#624: Provide PHP 8.1 compatibility #644

Merged
merged 1 commit into from
Dec 15, 2021
Merged

#624: Provide PHP 8.1 compatibility #644

merged 1 commit into from
Dec 15, 2021

Conversation

MaSpeng
Copy link
Contributor

@MaSpeng MaSpeng commented Dec 10, 2021

This pull request will provide compatibility with PHP 8.1.

Closes #624

@nunoperalta
Copy link

Nice! I'm actually just waiting for this package to get 8.1 support, to be able to drop 7.4 ​😊👍
Thank you!

@Sebbo94BY Sebbo94BY changed the base branch from master to develop December 13, 2021 22:28
@Sebbo94BY
Copy link
Collaborator

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?

@MaSpeng
Copy link
Contributor Author

MaSpeng commented Dec 15, 2021

@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.

@Sebbo94BY Sebbo94BY merged commit 284aa72 into barbushin:develop Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] PHP 8.1 compatibility
3 participants