HEX
Server: Apache/2.4.62 (Debian)
System: Linux plxsite 6.8.0-47-generic #47-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 27 21:40:26 UTC 2024 x86_64
User: root (0)
PHP: 8.1.30
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/wordfence/lib/compat.php
<?php if (!defined('WORDFENCE_VERSION')) { exit; }

if (!function_exists('str_getcsv')) {

	function str_getcsv($input, $delimiter = ',', $enclosure = '"', $escape = null, $eol = null) {
		$temp = fopen("php://memory", "rw");
		fwrite($temp, $input);
		fseek($temp, 0);
		$r = array();
		while (($data = fgetcsv($temp, 0, $delimiter, $enclosure, $escape)) !== false) {
			$r[] = $data;
		}
		fclose($temp);
		return $r;
	}

}