Skip to content
This repository has been archived by the owner on Jan 8, 2021. It is now read-only.

Deprecated each() function #74

Closed
rxu opened this issue Dec 29, 2019 · 0 comments · Fixed by #78
Closed

Deprecated each() function #74

rxu opened this issue Dec 29, 2019 · 0 comments · Fixed by #78

Comments

@rxu
Copy link

rxu commented Dec 29, 2019

each() function has been deprecated as of PHP 7.2 and has been removed in yet unreleased PHP 8. It's used here https://github.com/tchwork/utf8/blob/master/src/Patchwork/Utf8/WindowsStreamWrapper.php#L109

Please consider replacing it with another implementation (f.e. if ($c = current($this->handle)) or something) if possible.
The library is used by another projects requiring PHP 7.2+ compatibility.
Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant