Home
last modified time | relevance | path

Searched refs:substr_replace (Results 1 – 13 of 13) sorted by relevance

/PHP-7.2/ext/standard/tests/strings/
H A Dsubstr_replace_error.phpt2 Test substr_replace() function : error conditions
11 * Testing substr_replace() for error conditions
14 echo "*** Testing substr_replace() : error conditions ***\n";
19 var_dump(substr_replace());
20 var_dump(substr_replace($s1, "evening"));
23 var_dump(substr_replace($s1, "evening", 5, 7, true));
26 var_dump(substr_replace($s1, "evening", array(5)));
27 var_dump(substr_replace($s1, "evening", 5, array(8)));
30 var_dump(substr_replace($s1, "evening", array(5, 1), array(8)));
33 var_dump(substr_replace($s1, "evening", array(5), array(8)));
[all …]
H A Dsubstr_replace.phpt2 substr_replace() function
11 echo "substr_replace('$str', '$repl', $start)\n";
12 var_dump(substr_replace($str, $repl, $start));
16 echo "substr_replace('$str', '$repl', $start, $len)\n";
17 var_dump(substr_replace($str, $repl, $start, $len));
22 var_dump(substr_replace($str, $repl, $start, $len));
27 var_dump(substr_replace($str, $repl, $start, $len));
449 substr_replace('try this', 'bala ', 2)
452 substr_replace('try this', 'bala ', 2, 3)
455 substr_replace('try this', 'bala ', 2, 0)
[all …]
H A Dbug55871.phpt2 Bug #55871 (Interruption in substr_replace()) (PHP7)
27 $out = substr_replace(array(&$my_var), array(new test1), 40, 0);
30 $out = substr_replace(array(&$my_var), array(new test2), 40, 0);
33 $out = substr_replace(array(&$my_var), array(new test3), 40, 0);
H A Dbug42208.phpt2 Bug #42208 (substr_replace() crashes when the same array is passed more than once)
7 var_dump(substr_replace($a, 1, 1, $c));
H A Dsubstr_replace_array.phpt2 substr_replace() function - array
7 $newarr = substr_replace($arr, 'zzz', 0, -2);
H A Dbug71190.phpt2 Bug #71190 (substr_replace converts integers in original $search array to strings)
8 substr_replace("test", $b, "1");
H A Dbug54238.phpt2 Bug #54238 (use-after-free in substr_replace())
9 $z = substr_replace($f, $f, $f, 1);
H A Dbug40754.phpt9 var_dump(substr_replace("abcde", "x", $v, $v));
/PHP-7.2/ext/standard/tests/
H A Dbug71827.phpt2 Bug #71827 (substr_replace bug when length type is string )
6 $line = substr_replace($line,$value,$pos,$len);
/PHP-7.2/Zend/tests/
H A Dcall_with_refs.phpt13 $data = call_user_func_array("substr_replace",array(&$my_var, new StdClass(),1));
/PHP-7.2/ext/standard/
H A Dphp_string.h85 PHP_FUNCTION(substr_replace);
H A Dbasic_functions.c2797 PHP_FE(substr_replace, arginfo_substr_replace)
H A Dstring.c2446 PHP_FUNCTION(substr_replace) argument

Completed in 50 milliseconds