/* * Patch for filter_var() */ if(!function_exists('filter_var')){ define('FILTER_VALIDATE_IP', 'ip'); define('FILTER_FLAG_IPV4', 'ipv4'); define('FILTER_FLAG_IPV6', 'ipv6'); define('FILTER_VALIDATE_EMAIL', 'email'); define('FILTER_FLAG_EMAIL_UNICODE', 'unicode'); function filter_var($variable, $filter, $option = false){ if($filter == 'ip'){ if($option == 'ipv4'){ if(preg_match("/(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/", $variable, $matches)){ $variable = $matches[1]; return $variable; } } if($option == 'ipv6'){ if(preg_match("/\s*(([:.]{0,7}[0-9a-fA-F]{0,4}){1,8})\s*/", $variable, $matches)){ $variable = $matches[1]; return $variable; } } } if($filter == 'email'){ if($option == 'unicode' || $option == false){ if(preg_match("/\s*(\S*@\S*\.\S*)\s*/", $variable, $matches)){ $variable = $matches[1]; return $variable; } } } } }
Raw fish ... I'm so careful about that. Once I wasted all types of raw fish buying from whole food and other places and was sick for week. I wonder if they put chemicals on sea products. Can't trust them anymore. Red snapper looks very good thoughWhile the above might seem like scaremongering, I should add that I too bought raw wildcaught fish from supermarkets like Sainsbury's once, and they too made me vomit due to the chemicals infused in them.
Thankfully I haven't been sick from any raw foods yet. I didn't know in some areas they use chemicals on fish. Is it to kill bacteria? and how do you know you were sick from the chemicals, Tyler?Because the fish tasted particularly foul, with a chemical-like aftertaste. I suspect it was some form of chemical which gets easily destroyed by heat so that it isn't present after cooking. Supermarkets are paranoid about extending the shelf-life of all products, for reasons of profit, and raw fish ages at a much faster rate than other raw animal foods, so they would feel the need to saturate their fish with preservatives. I generally prefer to buy from fishmongers at local farmers' markets as even small fishmonger-shops tend to treat their produce badly, to some extent re selling frozen fish etc.(prefrozen scallops, for example, taste foul once thawed).
Come to think of it I remember noticing what I thought was some kind of flavouring added to some brandname frozen salmon of questionable origin. It seemed to have been dyed, salted, and flavoured (and probably preserved) with an almost undetectable syrup.There's also canthaxanthin which is a dye used to make farmed salmon seem as pink and healthy as wild salmon flesh. Without that dye, the farmed salmon flesh would look a sickly grey.