HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ns3133907 6.8.0-86-generic #87-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 18:03:36 UTC 2025 x86_64
User: cssnetorguk (1024)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: //old_home_backup/thesmileplace.co.uk/public_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;
	}

}