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

/PHP_5_5/ext/spl/internal/
H A Dregexiterator.inc94 $result = preg_replace($this->regex, $this->replacement, $subject);
/PHP_5_5/ext/standard/
H A Dhtml.c1224 const unsigned char *replacement = NULL; local
1248 replacement = (const unsigned char*)"\xEF\xBF\xBD";
1251 replacement = (const unsigned char*)"�";
1289 memcpy(&replaced[len], replacement, replacement_len);
1337 mbsequence = replacement;
1344 mbsequence = replacement;
1357 mbsequence = replacement;
H A Dbasic_functions.c391 ZEND_ARG_INFO(0, replacement) /* ARRAY_INFO(0, arg, 1) */
/PHP_5_5/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_5/ext/mbstring/
H A Dmbstring.c459 ZEND_ARG_INFO(0, replacement)
466 ZEND_ARG_INFO(0, replacement)
/PHP_5_5/ext/spl/
H A Dspl_iterators.c1972 zval *subject_ptr, subject_copy, zcount, *replacement, tmp_replacement; local
2035 replacement = zend_read_property(intern->std.ce, getThis(), "replacement", sizeof("replacement")-1, 1 TSRMLS_CC);
2036 if (Z_TYPE_P(replacement) != IS_STRING) {
2037 tmp_replacement = *replacement;
2040 replacement = &tmp_replacement;
2042 result = php_pcre_replace_impl(intern->u.regex.pce, subject, subject_len, replacement, 0, &result_len, -1, &count TSRMLS_CC);
2054 if (replacement == &tmp_replacement) {
2055 zval_dtor(replacement);
[all...]

Completed in 26 milliseconds