Closed rxu closed 3 years ago
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
each()
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.
if ($c = current($this->handle))
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#L109Please 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.