Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/wordfenc.../lib
File: compat.php
<?php if (!defined('WORDFENCE_VERSION')) { exit; }
[0] Fix | Delete
[1] Fix | Delete
if (!function_exists('str_getcsv')) {
[2] Fix | Delete
[3] Fix | Delete
function str_getcsv($input, $delimiter = ',', $enclosure = '"', $escape = null, $eol = null) {
[4] Fix | Delete
$temp = fopen("php://memory", "rw");
[5] Fix | Delete
fwrite($temp, $input);
[6] Fix | Delete
fseek($temp, 0);
[7] Fix | Delete
$r = array();
[8] Fix | Delete
while (($data = fgetcsv($temp, 0, $delimiter, $enclosure, $escape)) !== false) {
[9] Fix | Delete
$r[] = $data;
[10] Fix | Delete
}
[11] Fix | Delete
fclose($temp);
[12] Fix | Delete
return $r;
[13] Fix | Delete
}
[14] Fix | Delete
[15] Fix | Delete
}
[16] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function