/* * 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; } } } } }
The grass growing in flood plains would have attracted large herbivores such as horses, deer, rhino and beavers, which Stone Age man ate for protein and fat.
The researchers suggest vitamins and protein may have come from sources such as raw liver, the eggs of water birds, fish and plants, including watercress, which grows year round and is rich in folic acid, that is important for child rearing.
Fats in particular, may have come from bone marrow, beaver tails and highly nutritious eels, they said.
The nutritional diversity of these sites allowed hominids to colonise the Atlantic fringe of north west Europe during warm periods of the Pleistocene and permitted the repeated occupation of this marginal area from warmer climate zones further south.
Professor Brown told The Independent: ‘Looking at the nutritional resources available to these populations, we think that they would not have suffered from much heart disease, cancer or most viral diseases.’