1--TEST--
2Bug #43927 (koi8r is missing from html_entity_decode())
3--FILE--
4<?php
5var_dump(html_entity_decode("&amp;lt;", ENT_COMPAT, 'koi8-r'));
6var_dump(html_entity_decode("&amp;#38;", ENT_COMPAT, 'koi8-r'));
7var_dump(html_entity_decode("&amp;#38;lt;", ENT_COMPAT, 'koi8-r'));
8?>
9--EXPECT--
10string(4) "&lt;"
11string(5) "&#38;"
12string(8) "&#38;lt;"
13