diff options
Diffstat (limited to 'ext/standard/tests/strings/bug61116.phpt')
-rw-r--r-- | ext/standard/tests/strings/bug61116.phpt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ext/standard/tests/strings/bug61116.phpt b/ext/standard/tests/strings/bug61116.phpt new file mode 100644 index 0000000000..2bd9f2537f --- /dev/null +++ b/ext/standard/tests/strings/bug61116.phpt @@ -0,0 +1,29 @@ +--TEST-- +Bug #61116 (HTML functions use encoding, not charset) +--FILE-- +<?php +Reflection::export(new ReflectionFunction('htmlspecialchars')); +Reflection::export(new ReflectionFunction('get_html_translation_table')); +?> +--EXPECT-- +Function [ <internal:standard> function htmlspecialchars ] { + + - Parameters [4] { + Parameter #0 [ <required> $string ] + Parameter #1 [ <optional> $quote_style ] + Parameter #2 [ <optional> $encoding ] + Parameter #3 [ <optional> $double_encode ] + } +} + +Function [ <internal:standard> function get_html_translation_table ] { + + - Parameters [3] { + Parameter #0 [ <optional> $table ] + Parameter #1 [ <optional> $quote_style ] + Parameter #2 [ <optional> $encoding ] + } +} + + + |