--TEST-- htmlentities() test 15 (setlocale / KOI8-R) --INI-- output_handler= default_charset= internal_encoding=pass --SKIPIF-- --DESCRIPTION-- As of PHP 5.4, htmlentities() no longer makes replacements with numerical entities. Hence, for this input there's no substitution. --FILE-- --EXPECT-- string(9) "роскошный" string(9) "роскошный"