mb_strlen returns false if invalid encoding is given (fixes #66246)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332297 c90b9560-bf6c-de11-be94-00142212c4b1