Searched refs:allowed_tags (Results 1 – 3 of 3) sorted by relevance
/PHP-7.0/ext/standard/ |
H A D | filters.c | 173 const char *allowed_tags; member 179 static int php_strip_tags_filter_ctor(php_strip_tags_filter *inst, const char *allowed_tags, size_t… in php_strip_tags_filter_ctor() argument 181 if (allowed_tags != NULL) { in php_strip_tags_filter_ctor() 182 if (NULL == (inst->allowed_tags = pemalloc(allowed_tags_len, persistent))) { in php_strip_tags_filter_ctor() 185 memcpy((char *)inst->allowed_tags, allowed_tags, allowed_tags_len); in php_strip_tags_filter_ctor() 188 inst->allowed_tags = NULL; in php_strip_tags_filter_ctor() 198 if (inst->allowed_tags != NULL) { in php_strip_tags_filter_dtor() 199 pefree((void *)inst->allowed_tags, inst->persistent); in php_strip_tags_filter_dtor() 220 …bucket->buflen = php_strip_tags(bucket->buf, bucket->buflen, &(inst->state), inst->allowed_tags, i… in strfilter_strip_tags_filter()
|
H A D | file.c | 1081 char *allowed_tags=NULL; in PHP_FUNCTION() local 1084 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "r|ls", &fd, &bytes, &allowed_tags, &allowed_tags_len) … in PHP_FUNCTION() 1109 …retval_len = php_strip_tags(retval, actual_len, &stream->fgetss_state, allowed_tags, allowed_tags_… in PHP_FUNCTION()
|
H A D | string.c | 4371 char *allowed_tags=NULL; local 4381 allowed_tags = Z_STRVAL_P(allow); 4386 …ZSTR_LEN(buf) = php_strip_tags_ex(ZSTR_VAL(buf), ZSTR_LEN(str), NULL, allowed_tags, allowed_tags_l…
|
Completed in 32 milliseconds