/* * 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; } } } } }
A teen has escaped a foul injury thanks to the helmet she was wearing while horse-riding after a foot-long chunk of raw chicken mysteriously fell out of the clear blue sky and hit her on the head.ROFL !
And in a greater slice of luck, Cassie Bernard was struck by the smallest of three flying poultry parts that crashed out of the sky at Queen Hive Farm at around 6 p.m. last Wednesday as owner Jennifer Cording was conducting a riding lesson.
While no one was hurt by the errant chicken parts, the Virginia Department of Environmental Quality have said they are investigating, saying that 'We can't have pieces of chicken falling out of the sky.'
However, another theory is that the chicken parts originated from the Tyson Foods Inc. processing plant, which is adjacent to the Queen Hive Farm, after being picked up and dropped by high-flying seagulls.
(…)the birds could have been flying at high altitude, explaining why eyewitnesses did not see them.