Searched refs:substr_replace (Results 1 – 16 of 16) sorted by relevance
/PHP-8.1/ext/standard/tests/strings/ |
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 | substr_replace_error.phpt | 2 Test substr_replace() function : error conditions 6 * Testing substr_replace() for error conditions 9 echo "*** Testing substr_replace() : error conditions ***\n"; 13 echo "\n-- Testing substr_replace() function with start and length as arrays but string not--\n"; 15 var_dump(substr_replace($s1, "evening", array(5))); 20 var_dump(substr_replace($s1, "evening", 5, array(1))); 27 *** Testing substr_replace() : error conditions *** 29 -- Testing substr_replace() function with start and length as arrays but string not-- 30 substr_replace(): Argument #3 ($offset) cannot be an array when working on a single string 31 substr_replace(): Argument #4 ($length) cannot be an array when working on a single string
|
H A D | substr_replace_array_unset.phpt | 2 substr_replace() function - array with unset 8 $newarr = substr_replace(['1 string', '2 string'], $replacement, 0); 13 $newarr = substr_replace(['1 string', '2 string'], $replacement, 0);
|
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 | bug72146.phpt | 2 Bug #72146 (Integer overflow on substr_replace) 5 var_dump(substr_replace(["ABCDE"], "123", 3, PHP_INT_MAX));
|
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()) 7 $z = substr_replace($f, $f, $f, 1);
|
H A D | bug40754.phpt | 9 var_dump(substr_replace("abcde", "x", $v, $v));
|
/PHP-8.1/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-8.1/Zend/tests/ |
H A D | call_with_refs.phpt | 14 $data = call_user_func_array("substr_replace",array(&$my_var, new Test(), 1));
|
/PHP-8.1/ext/standard/ |
H A D | basic_functions.stub.php | 802 function substr_replace(array|string $string, array|string $replace, array|int $offset, array|int|n… function
|
H A D | basic_functions_arginfo.h | 2488 ZEND_FUNCTION(substr_replace); 3128 ZEND_FE(substr_replace, arginfo_substr_replace)
|
H A D | string.c | 2281 PHP_FUNCTION(substr_replace) argument
|
/PHP-8.1/ |
H A D | NEWS | 896 . Fix substr_replace with slots in repl_ht being UNDEF. (nielsdos)
|
Completed in 57 milliseconds