Performs a deep string replace operation to ensure the values in $search are no longer present.
Description
Repeats the replacement operation until it no longer replaces anything to remove "nested" values e.g. $subject = '%0%0%0DDD', $search ='%0D', $result ='' rather than the '%0%0DD' that str_replace would return
Parameters
$searchstring|array
The value being searched for, otherwise known as the needle. An array may be used to designate multiple needles.
$subjectstring
The string being searched and replaced on, otherwise known as the haystack.
Signature, return type and hooks compared across 5 parsed releases.
About this page
Parsed data
Generated from the wordpress-develop 7.1.0 tag, from src/wp-includes/formatting.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.