/* * 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; } } } } }
How Whales Change Climate (https://www.google.pt/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwicg6XnkMfVAhWLvBoKHWgSAZgQyCkIKTAA&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DM18HxXve3CM&usg=AFQjCNEfGIn5A7wRLrJTKfsT4YJbOBlt8Q)Weird. I would have thought that the whales dying off would be good for the plankton too. Makes me wonder if humans impact is as bad as we think it is. Though it doesn't seem likely maybe we have a good impact on the environment as well. Or at least better than we think it does. We grow crops in the desert where they wouldn't exist and there is always more green area in small cities. What is the problem then? Were we good for the environment at one time and have progressed beyond our usefulness in that respect? Have we reached maturity as a society and are now in the decline or death phase? Or are we just overlooking some aspect of our usefulness of the ecosystem? Who really knows?