diff options
author | Peter Kokot <peterkokot@gmail.com> | 2018-10-14 15:37:22 +0200 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2018-10-14 19:43:12 +0200 |
commit | 7af945e271d042a4991c9510f78b6ff7ac43ac34 (patch) | |
tree | 31d3b7a69f017cd532c5fe31ce1664d426384f82 /ext/standard/tests/strings/html_entity_decode_macroman.phpt | |
parent | afd534f1634e9a5d631afac39a9c9b09b1ba8b33 (diff) | |
download | php-git-7af945e271d042a4991c9510f78b6ff7ac43ac34.tar.gz |
Trim trailing whitespace in *.phpt
Diffstat (limited to 'ext/standard/tests/strings/html_entity_decode_macroman.phpt')
-rw-r--r-- | ext/standard/tests/strings/html_entity_decode_macroman.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/tests/strings/html_entity_decode_macroman.phpt b/ext/standard/tests/strings/html_entity_decode_macroman.phpt index 4691bcf1a7..4f500dc4e7 100644 --- a/ext/standard/tests/strings/html_entity_decode_macroman.phpt +++ b/ext/standard/tests/strings/html_entity_decode_macroman.phpt @@ -142,7 +142,7 @@ foreach ($arr as $u => $v) { $res = html_entity_decode($ent, ENT_QUOTES, 'MacRoman'); $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, 'MacRoman'); if ($res[0] != "&" || $res[1] != "#") |