1
0
mirror of https://github.com/php/php-src.git synced 2026-04-18 13:31:27 +02:00
Files
archived-php-src/ext/standard/tests/strings/bug61116.phpt
Masaki Kagaya 8d219f5307 apply a patch
2015-04-14 21:17:08 +09:00

30 lines
722 B
PHP

--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 ]
}
}