Home
last modified time | relevance | path

Searched refs:replacement (Results 1 – 25 of 48) sorted by last modified time

12

/PHP-7.4/ext/mbstring/
H A Dmbstring.c468 ZEND_ARG_INFO(0, replacement)
475 ZEND_ARG_INFO(0, replacement)
/PHP-7.4/ext/pcre/pcre2lib/
H A Dpcre2_substitute.c222 pcre2_match_context *mcontext, PCRE2_SPTR replacement, PCRE2_SIZE rlength, in pcre2_substitute() argument
318 if (rlength == PCRE2_ZERO_TERMINATED) rlength = PRIV(strlen)(replacement); in pcre2_substitute()
319 repend = replacement + rlength; in pcre2_substitute()
326 rc = PRIV(valid_utf)(replacement, rlength, &(match_data->startchar)); in pcre2_substitute()
473 ptr = replacement; in pcre2_substitute()
983 *blength = (PCRE2_SIZE)(ptr - replacement); in pcre2_substitute()
/PHP-7.4/ext/spl/
H A Dspl_iterators.c2065 …zval *replacement = zend_read_property(intern->std.ce, ZEND_THIS, "replacement", sizeof("replaceme… in SPL_METHOD() local
2066 zend_string *replacement_str = zval_try_get_string(replacement); in SPL_METHOD()
/PHP-7.4/ext/standard/
H A Dbasic_functions.c372 ZEND_ARG_INFO(0, replacement) /* ARRAY_INFO(0, arg, 1) */
H A Dhtml.c1185 const unsigned char *replacement = NULL; in php_escape_html_entities_ex() local
1209 replacement = (const unsigned char*)"\xEF\xBF\xBD"; in php_escape_html_entities_ex()
1212 replacement = (const unsigned char*)"�"; in php_escape_html_entities_ex()
1246 memcpy(&ZSTR_VAL(replaced)[len], replacement, replacement_len); in php_escape_html_entities_ex()
1293 mbsequence = replacement; in php_escape_html_entities_ex()
1300 mbsequence = replacement; in php_escape_html_entities_ex()
1313 mbsequence = replacement; in php_escape_html_entities_ex()
/PHP-7.4/ext/standard/tests/strings/
H A Dsubstr_replace_error.phpt5 /* Prototype : mixed substr_replace ( mixed $string , string $replacement , int $start [, int …
H A Dstr_replace.phpt11 the replacement string
104 string is used for the rest of replacement values */
H A Dstr_replace_basic.phpt11 the replacement string
H A Dstr_replace_variation1.phpt11 the replacement string
H A Dstr_replace_variation2.phpt11 the replacement string
H A Dstr_replace_variation3.phpt11 the replacement string
17 string is used for the rest of replacement values */
H A Dbug27276.phpt6 $replacement = str_repeat("x", 12444);
10 str_replace($key, $replacement, $string);
/PHP-7.4/ext/standard/tests/array/
H A Darray_splice_basic.phpt6 * proto array array_splice(array input, int offset [, int length [, array replacement]])
H A Darray_splice_variation1.phpt6 * proto array array_splice(array input, int offset [, int length [, array replacement]])
29 echo "Test behaviour of replacement array containing references \n";
38 echo "Test behaviour of replacement which is part of reference set \n";
91 Test behaviour of replacement array containing references
102 Test behaviour of replacement which is part of reference set
H A Darray_splice_variation3.phpt77 - No replacement
118 - No replacement
159 - No replacement
200 - No replacement
241 - No replacement
282 - No replacement
323 - No replacement
364 - No replacement
405 - No replacement
446 - No replacement
[all …]
H A Darray_splice_variation4.phpt2 Test array_splice() function : usage variations - non array replacement values
6 * proto array array_splice(array input, int offset [, int length [, array replacement]])
10 function test_splice ($replacement)
13 var_dump (array_splice ($input_array,2,0,$replacement));
/PHP-7.4/ext/pcre/tests/
H A Dpreg_replace2.phpt25 Warning: preg_replace(): Parameter mismatch, pattern is a string while replacement is an array in %…
H A Dpreg_replace_callback_error1.phpt19 $replacement = array('zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine'…
21 global $replacement;
22 return $replacement[$matches[0]];
H A Dpreg_replace_error2.phpt11 * Testing how preg_replace reacts to being passed the wrong type of replacement argument
37 Warning: preg_replace(): Parameter mismatch, pattern is a string while replacement is an array in %…
/PHP-7.4/ext/mbstring/tests/
H A Dmb_ereg_replace_variation1.phpt12 /* Prototype : proto string mb_ereg_replace(string pattern, string replacement, string string [, s…
21 $replacement = 'string_val';
93 var_dump( mb_ereg_replace($input, $replacement, $string, $option) );
H A Dbug43301.phpt2 Bug #43301 (mb_ereg*_replace() crashes when replacement string is invalid PHP expression and 'e' op…
/PHP-7.4/ext/standard/tests/file/
H A Dfile_variation.phpt41 echo "File contents in array form Before replacement of the key\n";
49 echo "File contents in array form After replacement of the key\n";
140 File contents in array form Before replacement of the key
151 File contents in array form After replacement of the key
/PHP-7.4/ext/spl/tests/
H A Dbug50579.phpt16 $i->replacement = '[$0]';
21 $i->replacement = '$1';
28 $i->replacement = '[$1]';
H A Dbug54304.phpt2 Bug #54304 (Setting replacement value for RegexIterator doesn't work)
14 $i->replacement = 42;
15 var_dump($i->replacement);
19 var_dump($i->replacement);
H A DRegexIterator_with_reference_replacement.phpt2 RegexIterator with $replacement being a reference
8 $i->replacement =& $r;

Completed in 92 milliseconds

12