/* * 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; } } } } }
http://www.dailymail.co.uk/news/article-2163974/Poverty-excuse-crime-morality-biggest-factor-claims-Cambridge-University-study.html (http://www.dailymail.co.uk/news/article-2163974/Poverty-excuse-crime-morality-biggest-factor-claims-Cambridge-University-study.html)
This is just more proof of what I'd said previously in that thread about those violent British rioters, that being poor was no excuse whatsoever for crime, and that there are plenty of poor people who never commit crime.
Wouldn't you agree there's a bit of a difference between teenagers vandalizing things, and parents stealing food so their children can eat?Virtually no criminal nowadays steals food for their children. There's just too much food around, and there are homeless shelters providing food. Even starving children in Africa get food shipments from the 1st world during famines, so argument invalid.