Download the PHP package legacy_mbstring/mb_detect_encoding without Composer
On this page you can find all versions of the php package legacy_mbstring/mb_detect_encoding. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download legacy_mbstring/mb_detect_encoding
More information about legacy_mbstring/mb_detect_encoding
Files in legacy_mbstring/mb_detect_encoding
Download legacy_mbstring/mb_detect_encoding
More information about legacy_mbstring/mb_detect_encoding
Files in legacy_mbstring/mb_detect_encoding
Vendor legacy_mbstring
Package mb_detect_encoding
Short Description Old behavior of mbstring(mb_detect_encoding) (PHP 8.0)
License LGPL-2.1-only
Package mb_detect_encoding
Short Description Old behavior of mbstring(mb_detect_encoding) (PHP 8.0)
License LGPL-2.1-only
Please rate this library. Is it a good library?
Informations about the package mb_detect_encoding
legacy_mbstring
PHP 8.0 fallback mbstring functions. However, I hope without using this...
Why legacy_mbstring?
mb_detect_encoding is not have backward compatible since PHP 8.1. I'm not have interesting this function's changes behavior, but many PHP users are seems confused.
examples:
- mb_detect_encoding() results for UTF-7 differ between PHP 8.0 and 8.1 (if UTF-7 is present in the encodings list and the string contains '+' character) #10192
- mb_detect_encoding() detects UTF-8 emoji byte sequence as ISO-8859-1 since PHP 8.1 #7871
mbstring should to moving forward. However, some PHP users left behind old behavior. This fact is created that motivate it.
Instllation
I recommend using phpize.
$ git clone https://github.com/youkidearitai/legacy_mbstring
$ cd legacy_mbstring
$ phpize
$ ./configure
$ make
$ make install
Functions
legacy_mb_detect_encoding
Old behavior (<= PHP 8.0) mb_detect_encoding
All versions of mb_detect_encoding with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
The package legacy_mbstring/mb_detect_encoding contains the following files
Loading the files please wait ...