Gen. partnerAlgotech

PHP function str_ireplace()

a string or an array of replacements.

|
September 11, 2019

Availability in PHP 5.0

Case-insensitive version of str_replace.

Parameters

Parameter Data type Default value Note
$search mixed not Every replacement with search array is performed on the result of previous replacement.
$replace mixed not
$subject mixed not If subject is an array, then the search and replace is performed with every entry of subject, and the return value is an array as well.
$count int null The number of matched and replaced needles will be returned in count which is passed by reference.

Return values

mixed

a string or an array of replacements.

Other resources

Official str-ireplace documentation

Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.