Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Replace all occurrences of the search string with the replacement string
<?php str_replace(    array|string $search,    array|string $replace,    string|array $subject,    int &$count = null): string|array
<?php         $key = parent::key();



        if ($this->normalizeKey) {

            $key = str_replace('\\', '/', $key);

        }



        return $key;
<?php         $current = parent::current();



        if ($this->normalizeCurrent) {

            $current = str_replace('\\', '/', $current);

        }



        return $current;