Home
last modified time | relevance | path

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

123

/PHP-8.0/ext/standard/tests/array/
H A Darray_splice_variation3.phpt76 - No replacement
117 - No replacement
158 - No replacement
199 - No replacement
240 - No replacement
281 - No replacement
322 - No replacement
363 - No replacement
404 - No replacement
445 - No replacement
[all …]
H A Darray_splice_variation4.phpt2 Test array_splice() function : usage variations - non array replacement values
9 function test_splice ($replacement)
12 var_dump (array_splice ($input_array,2,0,$replacement));
H A Darray_splice_variation1.phpt28 echo "Test behaviour of replacement array containing references \n";
37 echo "Test behaviour of replacement which is part of reference set \n";
90 Test behaviour of replacement array containing references
101 Test behaviour of replacement which is part of reference set
/PHP-8.0/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-8.0/ext/dom/tests/
H A DDOM4_ParentNode_append_with_attributes.phpt12 $replacement = $dom->createAttribute('attr-one');
13 $replacement->value ='42';
20 $element->append($replacement, $addition);
/PHP-8.0/ext/standard/tests/strings/
H A Dlevenshtein.phpt32 echo '--- Expensive replacement ---' . \PHP_EOL;
34 echo '--- Very expensive replacement ---' . \PHP_EOL;
60 --- Expensive replacement ---
62 --- Very expensive replacement ---
H A Dbug27276.phpt6 $replacement = str_repeat("x", 12444);
10 str_replace($key, $replacement, $string);
H A Dstrtr_empty_search_string.phpt11 Warning: strtr(): Ignoring replacement of empty string in %s on line %d
14 Warning: strtr(): Ignoring replacement of empty string in %s on line %d
/PHP-8.0/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)
H A Dheredoc_006.phpt2 braced complex variable replacement test (heredoc)
/PHP-8.0/ext/pcre/tests/
H A Dpreg_replace_error2.phpt9 * Testing how preg_replace reacts to being passed the wrong type of replacement argument
38 preg_replace(): Argument #1 ($pattern) must be of type array when argument #2 ($replacement) is an …
39 preg_replace(): Argument #2 ($replacement) must be of type array|string, stdClass given
H A Dpreg_replace_callback_basic.phpt11 $replacement = array('zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine'…
13 global $replacement;
14 …return $replacement[$matches[0]]; //all examples will be looking for an integer value, if one is f…
H A Dpreg_replace_callback_error1.phpt17 $replacement = array('zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine'…
19 global $replacement;
20 return $replacement[$matches[0]];
/PHP-8.0/ext/dba/tests/
H A Ddba003.phpt14 dba_replace("key1", "This is the replacement text", $db_file);
28 This is the replacement text
/PHP-8.0/ext/mbstring/tests/
H A Dmb_eregi_replace.phpt11 $replacement = array(
26 foreach($replacement as $i=>$u) {
/PHP-8.0/ext/pcre/
H A Dphp_pcre.stub.php12 function preg_replace(string|array $pattern, string|array $replacement, string|array $subject, int … argument
15 function preg_filter(string|array $pattern, string|array $replacement, string|array $subject, int $… argument
/PHP-8.0/ext/standard/tests/file/
H A Dfile_variation.phpt36 echo "File contents in array form Before replacement of the key\n";
44 echo "File contents in array form After replacement of the key\n";
135 File contents in array form Before replacement of the key
146 File contents in array form After replacement of the key
/PHP-8.0/ext/standard/tests/streams/
H A Dbug61115.phpt17 preg_replace(): Argument #2 ($replacement) must be of type array|string, Closure given

Completed in 24 milliseconds

123