mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
str_replace() can return the original string
This commit is contained in:
parent
f6d30cfba7
commit
0f7e0cf34b
3 changed files with 3 additions and 5 deletions
|
@ -745,14 +745,12 @@ function stripslashes(string $string): string {}
|
|||
/**
|
||||
* @param int $count
|
||||
* @return string|array<int|string, string>
|
||||
* @refcount 1
|
||||
*/
|
||||
function str_replace(array|string $search, array|string $replace, string|array $subject, &$count = null): string|array {}
|
||||
|
||||
/**
|
||||
* @param int $count
|
||||
* @return string|array<int|string, string>
|
||||
* @refcount 1
|
||||
*/
|
||||
function str_ireplace(array|string $search, array|string $replace, string|array $subject, &$count = null): string|array {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue