/PHP-7.0/ext/pcre/tests/ |
H A D | preg_match_error4.phpt | 44 "replace": [], 55 "replace": [], 66 "replace": [], 77 "replace": [], 88 "replace": [], 99 "replace": [], 110 "replace": [], 121 "replace": [], 133 "replace": [], 144 "replace": [], [all …]
|
H A D | preg_replace_error.phpt | 6 * 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 D | preg_filter.phpt | 8 $replace = array('A:$0', 'B:$0', 'C:$0'); 10 var_dump(preg_filter($pattern, $replace, $subject));
|
H A D | preg_replace_error1.phpt | 6 * 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 D | preg_replace_error2.phpt | 6 * 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 D | bug53823.phpt | 2 Bug #53823 - preg_replace: * qualifier on unicode replace garbles the string
|
/PHP-7.0/ext/standard/tests/strings/ |
H A D | bug39621.phpt | 8 $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 D | str_replace_variation1.phpt | 8 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 D | str_replace_variation3.phpt | 8 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 D | bug69144.phpt | 2 Bug #69144 (strtr not replacing with partly matching replace pairs)
|
/PHP-7.0/Zend/tests/ |
H A D | foreach_017.phpt | 43 /* replace before */ 55 /* replace after */ 67 /* replace current */
|
/PHP-7.0/ext/pcre/ |
H A D | php_pcre.c | 1268 if (EXPECTED(replace)) { in php_pcre_replace_impl() 1270 walk = replace; in php_pcre_replace_impl() 1307 walk = replace; in php_pcre_replace_impl() 1446 replace_value = replace; in php_replace_in_subject() 1507 replace, in php_replace_in_subject() 1527 if (Z_TYPE_P(replace) != IS_ARRAY && (Z_TYPE_P(replace) != IS_OBJECT || !is_callable_replace)) { in preg_replace_impl() 1528 convert_to_string_ex(replace); in preg_replace_impl() 1589 Z_PARAM_ZVAL(replace) in PHP_FUNCTION() 1621 Z_PARAM_ZVAL(replace) in PHP_FUNCTION() 1717 Z_PARAM_ZVAL(replace) in PHP_FUNCTION() [all …]
|
/PHP-7.0/win32/build/ |
H A D | confutils.js | 754 name = name.replace(rExp,"_debug.lib"); 1611 obj = filename.replace(re, ".obj"); 1645 var dllname = dllname.replace(/\s/g, ""); 1654 targets = targets.replace(dllname, ""); 1655 targets = targets.replace(/\s+/, " "); 1656 targets = targets.replace(/\s$/, ""); 2394 content = content.replace(re, rep); 2457 …re = new RegExp("^" + pat.replace(/\./g, '\\.').replace(/\*/g, '.*').replace(/\?/g, '.') + "$", "i… 2736 version = version.replace(/\./g, ''); 2747 version = version.replace(/\./g, ''); [all …]
|
H A D | buildconf.js | 81 + c.replace(new RegExp('(["\\\\])', "g"), '\\$1') + "'));\r\n"; 119 C.WriteLine("\"" + mod_name.replace(/_/g, "-") + "\","); 251 modules = modules.replace(re, "/* $1 */");
|
H A D | phpize.js.in | 28 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.0/tests/classes/ |
H A D | this.phpt | 13 function replace($other) 43 $object->replace($other);
|
/PHP-7.0/ext/oci8/tests/ |
H A D | imp_res_2.phpt | 25 "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 D | bug37581.phpt | 13 $p1 = "create or replace package BUG37581_PKG as 18 $p2 = "create or replace package body BUG37581_PKG as
|
H A D | bug42841.phpt | 21 "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 D | bug46994.phpt | 16 "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
|
H A D | error2.phpt | 16 $s = oci_parse($c, "create or replace procedure myproc as begin bogus end;");
|
/PHP-7.0/ext/standard/tests/general_functions/ |
H A D | 003.phpt | 37 $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.0/ext/standard/tests/array/ |
H A D | array_replace_merge_recursive_ref.phpt | 2 Test array_(replace|merge)_recursive with references
|
/PHP-7.0/win32/ |
H A D | sendmail.c | 148 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()
|
/PHP-7.0/ext/xml/tests/ |
H A D | bug26614.phpt | 34 // Case 2: replace some characters so that we get comments instead 45 // Case 3: replace even more characters so that only textual data is left
|