Home
last modified time | relevance | path

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

12345

/PHP-7.1/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 Dpreg_replace_error.phpt6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]])
16 $replace = '1';
20 var_dump(preg_replace($regex, $replace, $subject, $limit, $count, $extra_arg));
24 $replace = '1';
25 var_dump(preg_replace($regex, $replace));
H A Dpreg_filter.phpt8 $replace = array('A:$0', 'B:$0', 'C:$0');
10 var_dump(preg_filter($pattern, $replace, $subject));
H A Dpreg_replace_error1.phpt6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]])
20 $replace = 1;
24 var_dump(preg_replace($regex_value, $replace, $subject));
27 var_dump(preg_replace($regex_value, $replace, $subject));
H A Dpreg_replace_error2.phpt6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]])
15 $replace = array('this is a string', array('this is', 'a subarray'),);
17 foreach($replace as $value) {
H A Dbug53823.phpt2 Bug #53823 - preg_replace: * qualifier on unicode replace garbles the string
/PHP-7.1/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 );
H A Dstr_replace_variation1.phpt8 Prototype: mixed str_replace(mixed $search, mixed $replace,
20 /* loop through to replace the matched elements in the array */
23 /* replace the string in array */
H A Dstr_replace_variation3.phpt8 Prototype: mixed str_replace(mixed $search, mixed $replace,
16 /* If replace has fewer values than search, then an empty
54 class replace
60 $obj_replace = new replace;
H A Dbug69144.phpt2 Bug #69144 (strtr not replacing with partly matching replace pairs)
/PHP-7.1/win32/build/
H A Dconfutils.js2349 .replace(/\/Fp.+? /, "")
2350 .replace(/\/Fo.+? /, "")
2351 .replace(/\/Fd.+? /, "")
2353 .replace(/\/FR.+? /, "")
2354 .replace("/guard:cf ", "")
2355 .replace(/\/MP \d+ /, "")
2356 .replace(/\/MP /, "")
2357 .replace("/LD ", "")
2358 .replace("/Qspectre ", "");
2664 …re = new RegExp("^" + pat.replace(/\./g, '\\.').replace(/\*/g, '.*').replace(/\?/g, '.') + "$", "i…
[all …]
H A Dbuildconf.js81 + c.replace(new RegExp('(["\\\\])', "g"), '\\$1') + "'));\r\n";
119 C.WriteLine("\"" + mod_name.replace(/_/g, "-") + "\",");
253 modules = modules.replace(re, "/* $1 */");
H A Dphpize.js.in28 var PHP_DIR=FSO.GetParentFolderName(WScript.ScriptFullName).replace(re,"");
92 + c.replace(new RegExp('(["\\\\])', "g"), '\\$1') + "'));\r\n";
112 + c.replace(new RegExp('(["\\\\])', "g"), '\\$1') + "'));\r\n";
213 C.WriteLine("var PHP_DIR = " + '"' + PHP_DIR.replace(new RegExp('(["\\\\])', "g"), '\\$1') + '"');
214 C.WriteLine("var PHP_PREFIX = " + '"' + PHP_PREFIX.replace(new RegExp('(["\\\\])', "g"), '\\$1') + …
256 modules = modules.replace(re, "/* $1 */");
/PHP-7.1/Zend/tests/
H A Dforeach_017.phpt43 /* replace before */
55 /* replace after */
67 /* replace current */
/PHP-7.1/ext/pcre/
H A Dphp_pcre.c1288 if (EXPECTED(replace)) { in php_pcre_replace_impl()
1290 walk = replace; in php_pcre_replace_impl()
1327 walk = replace; in php_pcre_replace_impl()
1466 replace_value = replace; in php_replace_in_subject()
1527 replace, in php_replace_in_subject()
1547 if (Z_TYPE_P(replace) != IS_ARRAY && (Z_TYPE_P(replace) != IS_OBJECT || !is_callable_replace)) { in preg_replace_impl()
1548 convert_to_string_ex(replace); in preg_replace_impl()
1609 Z_PARAM_ZVAL(replace) in PHP_FUNCTION()
1641 Z_PARAM_ZVAL(replace) in PHP_FUNCTION()
1737 Z_PARAM_ZVAL(replace) in PHP_FUNCTION()
[all …]
/PHP-7.1/tests/classes/
H A Dthis.phpt13 function replace($other)
43 $object->replace($other);
/PHP-7.1/ext/oci8/tests/
H A Dimp_res_2.phpt25 "create or replace procedure imp_res_2_proc_a as
32 "create or replace procedure imp_res_2_proc_b as
41 "create or replace procedure imp_res_2_proc_c as
H A Dbug37581.phpt13 $p1 = "create or replace package BUG37581_PKG as
18 $p2 = "create or replace package body BUG37581_PKG as
H A Dbug42841.phpt21 "create or replace procedure bug42841_proc(out_1 out sys_refcursor) is
26 "create or replace package bug43449_pkg is
31 "create or replace package body bug43449_pkg is
H A Dbug46994.phpt16 "create or replace procedure bug46994_proc1(p1 in out nocopy clob) is
21 "create or replace procedure bug46994_proc2(p1 in out nocopy clob) is
/PHP-7.1/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);
/PHP-7.1/ext/standard/tests/array/
H A Darray_replace_merge_recursive_ref.phpt2 Test array_(replace|merge)_recursive with references
/PHP-7.1/sapi/phpdbg/tests/
H A Dwatch_002.phpt2 Test simple array watchpoint with replace
H A Dwatch_003.phpt2 Test simple watchpoint with replace
/PHP-7.1/win32/
H A Dsendmail.c148 zval replace; in php_win32_mail_trim_header() local
155 ZVAL_STRINGL(&replace, PHP_WIN32_MAIL_UNIFY_REPLACE, strlen(PHP_WIN32_MAIL_UNIFY_REPLACE)); in php_win32_mail_trim_header()
160 &replace, in php_win32_mail_trim_header()
165 zval_ptr_dtor(&replace); in php_win32_mail_trim_header()
172 ZVAL_STRING(&replace, PHP_WIN32_MAIL_RMVDBL_PATTERN); in php_win32_mail_trim_header()
177 &replace, in php_win32_mail_trim_header()
181 zval_ptr_dtor(&replace); in php_win32_mail_trim_header()

Completed in 52 milliseconds

12345