Diff for /embedaddon/php/ext/standard/html.c between versions 1.1.1.3 and 1.1.1.4

version 1.1.1.3, 2013/07/22 01:32:05 version 1.1.1.4, 2013/10/14 08:02:34
Line 1221  PHPAPI char *php_escape_html_entities_ex(unsigned char Line 1221  PHPAPI char *php_escape_html_entities_ex(unsigned char
         const enc_to_uni *to_uni_table = NULL;          const enc_to_uni *to_uni_table = NULL;
         const entity_ht *inv_map = NULL; /* used for !double_encode */          const entity_ht *inv_map = NULL; /* used for !double_encode */
         /* only used if flags includes ENT_HTML_IGNORE_ERRORS or ENT_HTML_SUBSTITUTE_DISALLOWED_CHARS */          /* only used if flags includes ENT_HTML_IGNORE_ERRORS or ENT_HTML_SUBSTITUTE_DISALLOWED_CHARS */
        const unsigned char *replacement;        const unsigned char *replacement = NULL;
        size_t replacement_len;        size_t replacement_len = 0;
   
         if (all) { /* replace with all named entities */          if (all) { /* replace with all named entities */
                 if (CHARSET_PARTIAL_SUPPORT(charset)) {                  if (CHARSET_PARTIAL_SUPPORT(charset)) {
Line 1596  PHP_FUNCTION(get_html_translation_table) Line 1596  PHP_FUNCTION(get_html_translation_table)
                  flags = ENT_COMPAT;                   flags = ENT_COMPAT;
         int doctype;          int doctype;
         entity_table_opt entity_table;          entity_table_opt entity_table;
        const enc_to_uni *to_uni_table;        const enc_to_uni *to_uni_table = NULL;
         char *charset_hint = NULL;          char *charset_hint = NULL;
         int charset_hint_len;          int charset_hint_len;
         enum entity_charset charset;          enum entity_charset charset;

Removed from v.1.1.1.3  
changed lines
  Added in v.1.1.1.4


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>