/PHP-5.3/ext/ereg/tests/ |
H A D | ereg_replace_basic_001.phpt | 19 $replacement = '[this is a replacement]'; 34 string(82) "--[this is a replacement]-- this contains some matches --[this is a replacement]--" 38 …replacement] [this is a replacement]t[this is a replacement]h[this is a replacement]i[this is a re… 42 …replacement]a[this is a replacement]b[this is a replacement]c[this is a replacement]d[this is a re… 46 …replacement][this is a replacement][this is a replacement][this is a replacement][this is a replac… 54 string(74) "[this is a replacement] this contains some matches [this is a replacement]" 58 …tring(118) "[this is a replacement] this cont[this is a replacement]ins some m[this is a replaceme… 62 string(74) "[this is a replacement] this contains some matches [this is a replacement]" 80 [this is a replacement]this[this is a replacement]contains[this is a replacement]some[this is a rep… 81 [this is a replacement]" [all …]
|
H A D | eregi_replace_basic_001.phpt | 19 $replacement = '[this is a replacement]'; 34 string(82) "--[this is a replacement]-- this contains some matches --[this is a replacement]--" 38 …replacement] [this is a replacement]t[this is a replacement]h[this is a replacement]i[this is a re… 42 …replacement]a[this is a replacement]b[this is a replacement]c[this is a replacement]d[this is a re… 46 …replacement][this is a replacement][this is a replacement][this is a replacement][this is a replac… 54 string(74) "[this is a replacement] this contains some matches [this is a replacement]" 58 …tring(118) "[this is a replacement] this cont[this is a replacement]ins some m[this is a replaceme… 62 string(74) "[this is a replacement] this contains some matches [this is a replacement]" 80 [this is a replacement]this[this is a replacement]contains[this is a replacement]some[this is a rep… 81 [this is a replacement]" [all …]
|
H A D | ereg_replace_basic_002.phpt | 5 /* Prototype : proto string ereg_replace(string pattern, string replacement, string string) 11 $replacement = 'r'; 13 var_dump(ereg_replace('A', $replacement, 'a')); 14 var_dump(ereg_replace('[A-Z]', $replacement, '0')); 15 var_dump(ereg_replace('(a){4}', $replacement, 'aaa')); 16 var_dump(ereg_replace('^a', $replacement, 'ba')); 17 var_dump(ereg_replace('b$', $replacement, 'ba')); 18 var_dump(ereg_replace('[:alpha:]', $replacement, 'x'));
|
H A D | eregi_replace_basic_002.phpt | 5 /* Prototype : proto string eregi_replace(string pattern, string replacement, string string) 11 $replacement = 'r'; 13 var_dump(eregi_replace('[A-Z]', $replacement, '0')); 14 var_dump(eregi_replace('(a){4}', $replacement, 'aaa')); 15 var_dump(eregi_replace('^a', $replacement, 'ba')); 16 var_dump(eregi_replace('b$', $replacement, 'ba')); 17 var_dump(eregi_replace('[:alpha:]', $replacement, 'x'));
|
H A D | ereg_replace_error_001.phpt | 5 /* Prototype : proto string ereg_replace(string pattern, string replacement, string string) 17 $replacement = 'string_val'; 20 var_dump( ereg_replace($pattern, $replacement, $string, $extra_arg) ); 25 $replacement = 'string_val'; 26 var_dump( ereg_replace($pattern, $replacement) );
|
H A D | eregi_replace_error_001.phpt | 5 /* Prototype : proto string eregi_replace(string pattern, string replacement, string string) 17 $replacement = 'string_val'; 20 var_dump( eregi_replace($pattern, $replacement, $string, $extra_arg) ); 25 $replacement = 'string_val'; 26 var_dump( eregi_replace($pattern, $replacement) );
|
/PHP-5.3/ext/standard/tests/array/ |
H A D | array_splice_variation3.phpt | 78 - No replacement 119 - No replacement 160 - No replacement 201 - No replacement 242 - No replacement 283 - No replacement 324 - No replacement 365 - No replacement 406 - No replacement 447 - No replacement [all …]
|
H A D | array_splice_variation4.phpt | 2 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 D | array_splice_variation1.phpt | 6 * 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-5.3/ext/spl/tests/ |
H A D | bug54304.phpt | 2 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 D | bug50579.phpt | 16 $i->replacement = '[$0]'; 21 $i->replacement = '$1'; 28 $i->replacement = '[$1]';
|
/PHP-5.3/ext/mbstring/tests/ |
H A D | mb_ereg_replace_error.phpt | 10 /* 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 D | mb_eregi_replace.phpt | 11 $replacement = array( 26 foreach($replacement as $i=>$u) {
|
H A D | mb_ereg_replace_variation1.phpt | 12 /* 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 D | mb_ereg_replace_variation3.phpt | 10 /* 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 D | mb_ereg_replace_variation4.phpt | 10 /* 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) );
|
/PHP-5.3/ext/standard/tests/strings/ |
H A D | bug27276.phpt | 6 $replacement = str_repeat("x", 12444); 10 str_replace($key, $replacement, $string);
|
/PHP-5.3/ext/dba/tests/ |
H A D | dba003.phpt | 14 dba_replace("key1", "This is the replacement text", $db_file); 28 This is the replacement text
|
/PHP-5.3/ext/pcre/tests/ |
H A D | preg_replace_callback_basic.phpt | 12 $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 D | preg_replace_callback_error.phpt | 15 $replacement = array('zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine'… 17 global $replacement; 18 return $replacement[$matches[0]];
|
H A D | preg_replace_callback_error1.phpt | 19 $replacement = array('zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine'… 21 global $replacement; 22 return $replacement[$matches[0]];
|
H A D | preg_replace_error2.phpt | 11 * 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-5.3/ext/standard/tests/file/ |
H A D | file_variation.phpt | 41 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"; 141 File contents in array form Before replacement of the key 152 File contents in array form After replacement of the key
|
/PHP-5.3/Zend/tests/ |
H A D | heredoc_003.phpt | 2 simple variable replacement test (heredoc)
|
H A D | heredoc_004.phpt | 2 braces variable replacement test (heredoc)
|