mb_check_encoding

PHP 4 >= 4.4.3, PHP 5 >= 5.1.3, PHP 7, PHP 8
mb_check_encoding - Check if strings are valid for the specified encoding

Example #1 of mb_check_encoding

PHP Version: