- Notifications
You must be signed in to change notification settings - Fork8k
Closed
Description
Description
The following code:https://3v4l.org/3cnGD/rfc#vgit.master
<?phpechomb_detect_encoding('abc','UTF8, ASCII');
Resulted in this output:
Fatal error: Uncaught ValueError: mb_detect_encoding(): Argument #2 ($encodings) contains invalid encoding "UTF8"
But I expected this output instead:
UTF-8
This is a regression, seehttps://3v4l.org/3cnGD
And this works if the list is given as an array:https://3v4l.org/lVva0/rfc#vgit.master
PHP Version
PHP 8.4
Operating System
No response