mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
Update proto&arginfo for double_encode in htmlspecialchars()&htmlentities()
This commit is contained in:
parent
c1ba2927aa
commit
cdd37424a8
2 changed files with 4 additions and 2 deletions
|
@ -1665,6 +1665,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_htmlspecialchars, 0, 0, 1)
|
||||||
ZEND_ARG_INFO(0, string)
|
ZEND_ARG_INFO(0, string)
|
||||||
ZEND_ARG_INFO(0, quote_style)
|
ZEND_ARG_INFO(0, quote_style)
|
||||||
ZEND_ARG_INFO(0, charset)
|
ZEND_ARG_INFO(0, charset)
|
||||||
|
ZEND_ARG_INFO(0, double_encode)
|
||||||
ZEND_END_ARG_INFO()
|
ZEND_END_ARG_INFO()
|
||||||
|
|
||||||
static
|
static
|
||||||
|
@ -1685,6 +1686,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_htmlentities, 0, 0, 1)
|
||||||
ZEND_ARG_INFO(0, string)
|
ZEND_ARG_INFO(0, string)
|
||||||
ZEND_ARG_INFO(0, quote_style)
|
ZEND_ARG_INFO(0, quote_style)
|
||||||
ZEND_ARG_INFO(0, charset)
|
ZEND_ARG_INFO(0, charset)
|
||||||
|
ZEND_ARG_INFO(0, double_encode)
|
||||||
ZEND_END_ARG_INFO()
|
ZEND_END_ARG_INFO()
|
||||||
|
|
||||||
static
|
static
|
||||||
|
|
|
@ -1248,7 +1248,7 @@ void register_html_constants(INIT_FUNC_ARGS)
|
||||||
}
|
}
|
||||||
/* }}} */
|
/* }}} */
|
||||||
|
|
||||||
/* {{{ proto string htmlspecialchars(string string [, int quote_style][, string charset])
|
/* {{{ proto string htmlspecialchars(string string [, int quote_style[, string charset[, bool double_encode]]])
|
||||||
Convert special characters to HTML entities */
|
Convert special characters to HTML entities */
|
||||||
PHP_FUNCTION(htmlspecialchars)
|
PHP_FUNCTION(htmlspecialchars)
|
||||||
{
|
{
|
||||||
|
@ -1345,7 +1345,7 @@ PHP_FUNCTION(html_entity_decode)
|
||||||
/* }}} */
|
/* }}} */
|
||||||
|
|
||||||
|
|
||||||
/* {{{ proto string htmlentities(string string [, int quote_style][, string charset])
|
/* {{{ proto string htmlentities(string string [, int quote_style[, string charset[, bool double_encode]]])
|
||||||
Convert all applicable characters to HTML entities */
|
Convert all applicable characters to HTML entities */
|
||||||
PHP_FUNCTION(htmlentities)
|
PHP_FUNCTION(htmlentities)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue