Searched defs:allowed_tags_len (Results 1 - 3 of 3) sorted by relevance

/PHP_TRUNK/ext/standard/
H A Dfilters.c174 int allowed_tags_len; member in struct:_php_strip_tags_filter
179 static int php_strip_tags_filter_ctor(php_strip_tags_filter *inst, const char *allowed_tags, size_t allowed_tags_len, int persistent) argument
182 if (NULL == (inst->allowed_tags = pemalloc(allowed_tags_len, persistent))) {
185 memcpy((char *)inst->allowed_tags, allowed_tags, allowed_tags_len);
186 inst->allowed_tags_len = (int)allowed_tags_len;
220 bucket->buflen = php_strip_tags(bucket->buf, bucket->buflen, &(inst->state), inst->allowed_tags, inst->allowed_tags_len);
H A Dfile.c1082 size_t allowed_tags_len=0; local
1084 if (zend_parse_parameters(ZEND_NUM_ARGS(), "r|ls", &fd, &bytes, &allowed_tags, &allowed_tags_len) == FAILURE) {
1109 retval_len = php_strip_tags(retval, actual_len, &stream->fgetss_state, allowed_tags, allowed_tags_len);
H A Dstring.c4457 size_t allowed_tags_len=0; local
4467 allowed_tags_len = Z_STRLEN_P(allow);
4471 ZSTR_LEN(buf) = php_strip_tags_ex(ZSTR_VAL(buf), ZSTR_LEN(str), NULL, allowed_tags, allowed_tags_len, 0);

Completed in 16 milliseconds