--TEST--
htmlentities() / htmlspecialchars() ENT_SUBSTITUTE
--FILE--
--EXPECT--
string(9) "A�>B"
string(18) "41efbfbd2667743b42"
string(9) "A�>B"
string(18) "41efbfbd2667743b42"
string(9) "�""
string(18) "efbfbd2671756f743b"
string(9) "�""
string(18) "efbfbd2671756f743b"
string(18) "A��B�C☺�"
string(36) "41efbfbdefbfbd42efbfbd43e298baefbfbd"
string(18) "A��B�C☺�"
string(36) "41efbfbdefbfbd42efbfbd43e298baefbfbd"