diff options
author | Wez Furlong <wez@php.net> | 2001-05-28 11:00:06 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2001-05-28 11:00:06 +0000 |
commit | d38cba8697857fdf9ffdb11f001bb986803473ea (patch) | |
tree | e213df214193d8349b2442d214bd9f9302307c5f /ext/standard/html.h | |
parent | 2bdef9c83ffea933d3654575d6bd38894d5856c6 (diff) | |
download | php-git-d38cba8697857fdf9ffdb11f001bb986803473ea.tar.gz |
Added charset awareness to htmlentities() and htmlspecialchars(); use an
optional third parameter to specify the charset; otherwise tries to determine
it from the LC_CTYPE locale setting.
Diffstat (limited to 'ext/standard/html.h')
-rw-r--r-- | ext/standard/html.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/html.h b/ext/standard/html.h index ae0f5e8d65..682ced2273 100644 --- a/ext/standard/html.h +++ b/ext/standard/html.h @@ -31,6 +31,6 @@ PHP_FUNCTION(htmlspecialchars); PHP_FUNCTION(htmlentities); PHP_FUNCTION(get_html_translation_table); -PHPAPI char *php_escape_html_entities(unsigned char *old, int oldlen, int *newlen, int all, int quote_style); +PHPAPI char *php_escape_html_entities(unsigned char *old, int oldlen, int *newlen, int all, int quote_style, char * hint_charset); #endif /* HTML_H */ |