summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/html_entity_decode_win1251.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/strings/html_entity_decode_win1251.phpt')
-rw-r--r--ext/standard/tests/strings/html_entity_decode_win1251.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/tests/strings/html_entity_decode_win1251.phpt b/ext/standard/tests/strings/html_entity_decode_win1251.phpt
index e47392623c..e60d7074bf 100644
--- a/ext/standard/tests/strings/html_entity_decode_win1251.phpt
+++ b/ext/standard/tests/strings/html_entity_decode_win1251.phpt
@@ -142,7 +142,7 @@ foreach ($arr as $u => $v) {
$res = html_entity_decode($ent, ENT_QUOTES, 'WINDOWS-1251');
$d = unpack("H*", $res);
echo sprintf("%s: %s => %s\n", $v[1], $ent, $d[1]);
-
+
$ent = sprintf("&#x%X;", $v[0]);
$res = html_entity_decode($ent, ENT_QUOTES, 'WINDOWS-1251');
if ($res[0] != "&" || $res[1] != "#")