/* * 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; } } } } }
I noticed (while playing in world 506,) that there seems to be a problem with the game in the area of 0.5 routes:So there are several reports on this bug, and no news?
- First, I noticed the game showed me the ^ carat symbol meaning "no one-way flights" for planes that had only one 0.5 route on them at the time.
- I was, however, able to make further 0.5 routes with those planes.
- Furthermore, the game, when I tested it to see if it would, allowed me to make a third 0.5 flight on an aircraft which would logically be unable to do this. (it happened to be plane id #8380) Of course, I then closed the route.