mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
ext/standard/info.c: Removed php_info_html_esc()
This commit is contained in:
parent
67a15cf457
commit
739805d099
3 changed files with 2 additions and 8 deletions
|
@ -336,6 +336,8 @@ PHP 8.4 INTERNALS UPGRADE NOTES
|
|||
- The php_escape_shell_arg() now takes a zend_string* instead of a char*
|
||||
Moreover, providing it with a binary safe string is the responsibility of
|
||||
the caller now.
|
||||
- The php_info_html_esc() function has been removed, use
|
||||
php_escape_html_entities() with ENT_QUOTES directly instead.
|
||||
|
||||
h. ext/session
|
||||
- Added the php_get_session_status() API to get the session status, which is
|
||||
|
|
|
@ -247,13 +247,6 @@ PHPAPI ZEND_COLD void ZEND_COLD php_info_print_style(void)
|
|||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ php_info_html_esc */
|
||||
PHPAPI ZEND_COLD zend_string *php_info_html_esc(const char *string)
|
||||
{
|
||||
return php_escape_html_entities((const unsigned char *) string, strlen(string), 0, ENT_QUOTES, NULL);
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
#ifdef PHP_WIN32
|
||||
/* {{{ */
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue