patch by andy at demos dot su
- Fixed bug #43954 (Memory leak when sending the same HTTP status code
multiple times). (Scott)
+- Fixed bug #43927 (koi8r is missing from html_entity_decode()).
+ (andy at demos dot su, Tony)
- Fixed faulty fix for bug #40189 (endless loop in zlib.inflate stream filter).
(Greg)
- Fixed bug #43912 (Interbase column names are truncated to 31 characters).
case cs_cp1251:
case cs_8859_5:
case cs_cp866:
+ case cs_koi8r:
replacement[0] = k;
replacement[1] = '\0';
replacement_len = 1;
--- /dev/null
+--TEST--
+Bug #43927 (koi8r is missing from html_entity_decode())
+--FILE--
+<?php
+var_dump(html_entity_decode("&lt;", ENT_COMPAT, 'koi8-r'));
+var_dump(html_entity_decode("&#38;", ENT_COMPAT, 'koi8-r'));
+var_dump(html_entity_decode("&#38;lt;", ENT_COMPAT, 'koi8-r'));
+?>
+--EXPECT--
+string(4) "<"
+string(5) "&"
+string(8) "&lt;"