Home
last modified time | relevance | path

Searched refs:replace (Results 1 – 25 of 77) sorted by relevance

1234

/php-src/ext/pcre/tests/
H A Dpreg_match_error4.phpt44 "replace": [],
55 "replace": [],
66 "replace": [],
77 "replace": [],
88 "replace": [],
99 "replace": [],
110 "replace": [],
121 "replace": [],
133 "replace": [],
144 "replace": [],
[all …]
H A Dbug76514.phpt30 "replace": [],
41 "replace": [],
54 "replace": [],
65 "replace": [],
76 "replace": [],
87 "replace": [],
98 "replace": [],
109 "replace": [],
120 "replace": [],
129 "replace": [],
[all …]
H A Dpreg_filter.phpt8 $replace = array('A:$0', 'B:$0', 'C:$0');
10 var_dump(preg_filter($pattern, $replace, $subject));
H A Dgh15205_2.phpt8 preg_replace('/pattern/', 'replace', 'subject');
20 preg_replace('/pattern/', 'replace', 'subject');
H A Dpreg_replace_error1.phpt23 $replace = 1;
26 var_dump(preg_replace($regex_value, $replace, $subject));
30 var_dump(preg_replace($regex_value, $replace, $subject));
H A Dpreg_replace_error2.phpt12 $replace = array('this is a string', array('this is', 'a subarray'),);
14 foreach($replace as $value) {
/php-src/ext/standard/tests/strings/
H A Dbug39621.phpt8 $replace = "any text";
10 $result = str_replace ( $search, $replace, $subject );
16 $replace = "any text";
18 $result = str_ireplace ( $search, $replace, $subject );
24 $replace = "any text";
26 $result = str_replace ( $search, $replace, $subject );
32 $replace = "any text";
34 $result = str_ireplace ( $search, $replace, $subject );
/php-src/ext/dom/tests/modern/token_list/
H A Dreplace_error.phpt2 TokenList: replace errors
13 $list->replace("\0", "X");
19 $list->replace("X", "\0");
25 $list->replace("a b", "X");
32 Dom\TokenList::replace(): Argument #1 ($token) must not contain any null bytes
33 Dom\TokenList::replace(): Argument #2 ($newToken) must not contain any null bytes
H A Dreplace.phpt2 TokenList: replace
12 var_dump($list->replace('nonexistent', 'X'));
16 var_dump($list->replace('B', 'X'));
20 var_dump($list->replace('C', 'X'));
24 var_dump($list->replace('A', 'B'));
28 var_dump($list->replace('X', 'B'));
33 $list->replace('A', 'AA');
/php-src/Zend/tests/stack_limit/
H A Dstack_limit_012.phpt16 function replace() {
19 replace();
26 replace();
H A Dstack_limit_007.phpt16 function replace() {
20 return replace();
30 replace();
H A Dstack_limit_011.phpt21 function replace() {
25 replace();
36 replace();
H A Dstack_limit_008.phpt16 function replace() {
19 return replace();
43 replace();
H A Dstack_limit_003.phpt28 function replace() {
30 return replace();
47 replace();
H A Dstack_limit_002.phpt28 function replace() {
30 return replace();
48 replace();
H A Dstack_limit_001.phpt30 function replace() {
32 return replace();
49 replace();
/php-src/ext/zip/tests/
H A Doo_replacefile.phpt19 echo "replace 5 succeed\n";
22 echo "replace 0 failed\n";
25 echo "replace 2 failed\n";
/php-src/Zend/tests/foreach/
H A Dforeach_017.phpt43 /* replace before */
55 /* replace after */
67 /* replace current */
/php-src/win32/build/
H A Dconfutils.js1106 thanks = "Thanks to " + thanks.replace(/([<>&|%])/g, "^$1").replace(/"/g, '\\"\\"');
2462 .replace(/\/Fp.+? /, "")
2463 .replace(/\/Fo.+? /, "")
2464 .replace(/\/Fd.+? /, "")
2466 .replace(/\/FR.+? /, "")
2467 .replace("/guard:cf ", "")
2468 .replace(/\/MP \d+ /, "")
2469 .replace(/\/MP /, "")
2470 .replace("/LD ", "")
2791 …re = new RegExp("^" + pat.replace(/\./g, '\\.').replace(/\*/g, '.*').replace(/\?/g, '.') + "$", "i…
[all …]
/php-src/ext/mysqli/tests/
H A Dbug46109.phpt19 Deprecated: Method mysqli::init() is deprecated since 8.1, replace calls to parent::init() with par…
21 Deprecated: Method mysqli::init() is deprecated since 8.1, replace calls to parent::init() with par…
/php-src/.github/scripts/
H A Dsetup-slapd.sh52 replace: olcSuffix
55 replace: olcRootDN
58 replace: olcRootPW
78 replace: olcLogLevel
/php-src/ext/dom/lexbor/lexbor/encoding/
H A Dencoding.c104 const lxb_char_t *replace, size_t length) in lxb_encoding_encode_replace_set_noi() argument
106 return lxb_encoding_encode_replace_set(encode, replace, length); in lxb_encoding_encode_replace_set_noi()
159 const lxb_codepoint_t *replace, size_t length) in lxb_encoding_decode_replace_set_noi() argument
161 return lxb_encoding_decode_replace_set(decode, replace, length); in lxb_encoding_decode_replace_set_noi()
H A Dencoding.h96 const lxb_char_t *replace, size_t length) in lxb_encoding_encode_replace_set() argument
102 encode->replace_to = replace; in lxb_encoding_encode_replace_set()
217 const lxb_codepoint_t *replace, size_t length) in lxb_encoding_decode_replace_set() argument
223 decode->replace_to = replace; in lxb_encoding_decode_replace_set()
391 const lxb_char_t *replace, size_t buffer_length);
421 const lxb_codepoint_t *replace, size_t length);
/php-src/tests/classes/
H A Dthis.phpt11 function replace($other)
41 $object->replace($other);
/php-src/ext/standard/tests/general_functions/
H A D003.phpt37 $n += test_me("expensive replace" , 3, "111", "121", 2, 3, 2);
38 $n += test_me("very expensive replace", 4, "111", "121", 2, 9, 2);

Completed in 28 milliseconds

1234