1--TEST--
2HTML entities
3--INI--
4output_handler=
5--FILE--
6<?php
7setlocale (LC_CTYPE, "C");
8$sc_encoded = htmlspecialchars ("<>\"&��\n");
9echo $sc_encoded;
10$ent_encoded = htmlentities ("<>\"&��\n");
11echo $ent_encoded;
12echo html_entity_decode($sc_encoded);
13echo html_entity_decode($ent_encoded);
14?>
15--EXPECT--
16&lt;&gt;&quot;&amp;��
17&lt;&gt;&quot;&amp;&aring;&Auml;
18<>"&��
19<>"&��
20