Searched refs:substr_replace (Results 1 – 13 of 13) sorted by relevance
/PHP-7.2/ext/standard/tests/strings/ |
H A D | substr_replace_error.phpt | 2 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 D | substr_replace.phpt | 2 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 D | bug55871.phpt | 2 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 D | bug42208.phpt | 2 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 D | substr_replace_array.phpt | 2 substr_replace() function - array 7 $newarr = substr_replace($arr, 'zzz', 0, -2);
|
H A D | bug71190.phpt | 2 Bug #71190 (substr_replace converts integers in original $search array to strings) 8 substr_replace("test", $b, "1");
|
H A D | bug54238.phpt | 2 Bug #54238 (use-after-free in substr_replace()) 9 $z = substr_replace($f, $f, $f, 1);
|
H A D | bug40754.phpt | 9 var_dump(substr_replace("abcde", "x", $v, $v));
|
/PHP-7.2/ext/standard/tests/ |
H A D | bug71827.phpt | 2 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 D | call_with_refs.phpt | 13 $data = call_user_func_array("substr_replace",array(&$my_var, new StdClass(),1));
|
/PHP-7.2/ext/standard/ |
H A D | php_string.h | 85 PHP_FUNCTION(substr_replace);
|
H A D | basic_functions.c | 2797 PHP_FE(substr_replace, arginfo_substr_replace)
|
H A D | string.c | 2446 PHP_FUNCTION(substr_replace) argument
|
Completed in 50 milliseconds