Searched refs:replacement (Results 1 - 6 of 6) sorted by relevance

/PHP_5_3/ext/spl/internal/
H A Dregexiterator.inc94 $result = preg_replace($this->regex, $this->replacement, $subject);
/PHP_5_3/ext/ereg/
H A Dereg.c38 ZEND_ARG_INFO(0, replacement)
402 * this is the meat and potatoes of regex replacement! */
411 const char *walk; /* used to walk replacement string for backrefs */
454 /* backref replacement is done in two passes:
456 2) copy the part before match, replacement and backrefs to buf
486 /* copy replacement and backrefs */
611 /* {{{ proto string ereg_replace(string pattern, string replacement, string string)
619 /* {{{ proto string eregi_replace(string pattern, string replacement, string string)
/PHP_5_3/ext/mbstring/
H A Dmbstring.c457 ZEND_ARG_INFO(0, replacement)
464 ZEND_ARG_INFO(0, replacement)
/PHP_5_3/ext/standard/
H A Dbasic_functions.c388 ZEND_ARG_INFO(0, replacement) /* ARRAY_INFO(0, arg, 1) */
H A Dhtml.c927 unsigned char replacement[15]; local
964 replacement[0] = k;
965 replacement[1] = '\0';
979 replacement_len = php_utf32_utf8(replacement, k);
989 replaced = php_str_to_str(ret, retlen, entity, entity_length, replacement, replacement_len, &retlen);
1002 replacement[0] = (unsigned char)basic_entities[j].charcode;
1003 replacement[1] = '\0';
1006 replaced = php_str_to_str(ret, retlen, basic_entities[j].entity, basic_entities[j].entitylen, replacement, 1, &retlen);
/PHP_5_3/ext/spl/
H A Dspl_iterators.c1880 zval subject_copy, zcount, *replacement, tmp_replacement; local
1948 replacement = zend_read_property(intern->std.ce, getThis(), "replacement", sizeof("replacement")-1, 1 TSRMLS_CC);
1949 if (Z_TYPE_P(replacement) != IS_STRING) {
1950 tmp_replacement = *replacement;
1953 replacement = &tmp_replacement;
1955 result = php_pcre_replace_impl(intern->u.regex.pce, subject, subject_len, replacement, 0, &result_len, -1, &count TSRMLS_CC);
1970 if (replacement == &tmp_replacement) {
1971 zval_dtor(replacement);
[all...]

Completed in 24 milliseconds