### Description The following code: https://3v4l.org/3cnGD/rfc#vgit.master ```php <?php echo mb_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, see https://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_