Home
last modified time | relevance | path

Searched refs:replacement (Results 1 – 25 of 61) sorted by relevance

123

/PHP-7.1/ext/standard/tests/array/
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));
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
/PHP-7.1/ext/spl/tests/
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 Dbug50579.phpt16 $i->replacement = '[$0]';
21 $i->replacement = '$1';
28 $i->replacement = '[$1]';
H A DRegexIterator_with_reference_replacement.phpt2 RegexIterator with $replacement being a reference
8 $i->replacement =& $r;
/PHP-7.1/ext/mbstring/tests/
H A Dmb_ereg_replace_error.phpt10 /* Prototype : proto string mb_ereg_replace(string pattern, string replacement, string string [, s…
21 $replacement = b'1';
25 var_dump( mb_ereg_replace($pattern, $replacement, $string, $option, $extra_arg) );
30 $replacement = b'string_val';
31 var_dump( mb_ereg_replace($pattern, $replacement) );
H A Dmb_eregi_replace.phpt11 $replacement = array(
26 foreach($replacement as $i=>$u) {
H A Dmb_ereg_replace_variation3.phpt10 /* Prototype : proto string mb_ereg_replace(string pattern, string replacement, string string [, s…
20 $replacement = 'string_val';
96 var_dump( mb_ereg_replace($pattern, $replacement, $input, $option) );
H A Dmb_ereg_replace_variation4.phpt10 /* Prototype : proto string mb_ereg_replace(string pattern, string replacement, string string [, s…
20 $replacement = '1';
96 var_dump( mb_ereg_replace($pattern, $replacement, $string, $input) );
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) );
/PHP-7.1/Zend/tests/
H A Dforeach_017.phpt41 $replacement = ['x', 'y', 'z'];
50 array_splice($a, 1, 2, $replacement);
62 array_splice($a, 2, 2, $replacement);
74 array_splice($a, 1, 3, $replacement);
H A Dheredoc_003.phpt2 simple variable replacement test (heredoc)
H A Dheredoc_004.phpt2 braces variable replacement test (heredoc)
H A Dnowdoc_003.phpt2 simple variable replacement test (nowdoc)
H A Dnowdoc_004.phpt2 braces variable replacement test (nowdoc)
H A Dheredoc_005.phpt2 unbraced complex variable replacement test (heredoc)
/PHP-7.1/ext/standard/tests/strings/
H A Dbug27276.phpt6 $replacement = str_repeat("x", 12444);
10 str_replace($key, $replacement, $string);
/PHP-7.1/ext/dba/tests/
H A Ddba003.phpt14 dba_replace("key1", "This is the replacement text", $db_file);
28 This is the replacement text
/PHP-7.1/ext/pcre/tests/
H A Dpreg_replace_callback_basic.phpt12 $replacement = array('zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine'…
14 global $replacement;
15 …return $replacement[$matches[0]]; //all examples will be looking for an integer value, if one is f…
H A Dpreg_replace_callback_error.phpt15 $replacement = array('zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine'…
17 global $replacement;
18 return $replacement[$matches[0]];
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
33 Warning: preg_replace(): Parameter mismatch, pattern is a string while replacement is an array in %…
/PHP-7.1/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.1/ext/readline/
H A DREADME.libedit1 This library can be built with libedit - non-GPL drop-in readline replacement.

Completed in 42 milliseconds

123