mb_check_encoding
laravel/octane
Supported Versions: PHP 4 >= 4.4.3, PHP 5 >= 5.1.3, PHP 7, PHP 8
Check if strings are valid for the specified encoding
<?php mb_check_encoding
(array|
string
|
null $value
=
null
, ?
string $encoding
=
null
):
bool