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

/PHP_TRUNK/ext/spl/internal/
H A Dregexiterator.inc94 $result = preg_replace($this->regex, $this->replacement, $subject);
/PHP_TRUNK/ext/spl/
H A Dspl_iterators.c2030 zval *subject_ptr, subject_copy, zcount, *replacement, tmp_replacement; local
2094 replacement = zend_read_property(intern->std.ce, getThis(), "replacement", sizeof("replacement")-1, 1 TSRMLS_CC);
2095 if (Z_TYPE_P(replacement) != IS_STRING) {
2096 tmp_replacement = *replacement;
2099 replacement = &tmp_replacement;
2101 result = php_pcre_replace_impl(intern->u.regex.pce, subject, subject_len, replacement, 0, -1, &count TSRMLS_CC);
2111 if (replacement == &tmp_replacement) {
2112 zval_dtor(replacement);
[all...]
/PHP_TRUNK/ext/standard/
H A Dhtml.c1235 const unsigned char *replacement = NULL; local
1259 replacement = (const unsigned char*)"\xEF\xBF\xBD";
1262 replacement = (const unsigned char*)"�";
1300 memcpy(&replaced->val[len], replacement, replacement_len);
1347 mbsequence = replacement;
1354 mbsequence = replacement;
1367 mbsequence = replacement;
H A Dbasic_functions.c384 ZEND_ARG_INFO(0, replacement) /* ARRAY_INFO(0, arg, 1) */
/PHP_TRUNK/ext/ereg/
H A Dereg.c38 ZEND_ARG_INFO(0, replacement)
405 * this is the meat and potatoes of regex replacement! */
414 const char *walk; /* used to walk replacement string for backrefs */
457 /* backref replacement is done in two passes:
459 2) copy the part before match, replacement and backrefs to buf
489 /* copy replacement and backrefs */
613 /* {{{ proto string ereg_replace(string pattern, string replacement, string string)
621 /* {{{ proto string eregi_replace(string pattern, string replacement, string string)
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c458 ZEND_ARG_INFO(0, replacement)
465 ZEND_ARG_INFO(0, replacement)

Completed in 24 milliseconds