/* * 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; } } } } }
lol, i guess repeating the joke ruins the whole point of it :p It was actually quite a nice touch from a cabin crew, showing their true personality/uniqueness, unlike those same-looking China Eastern cabin crew that i thought were manikins at first, and had a monotonous voice. Yes, I am biased against all airlines except for MAS :Dtalking about MAS, my best friend is malaysian
Ehh. I'll actually tell a real story of confusion I had on a flight.:lol: noted :)
South African Airways between Jo'Burg and Sao-Paulo, Brazil... This Asian guy was sitting next to me, when it was time for our meal the I of course was given a vegetarian one and the guy asked if he wanted chicken or beef. There was no reply to the scary flight attendant guy asked again to which he got the reply "Macaroni". Confused, we both looked at each other and slightly laughed and he asked a again getting the same answer of macaroni... He eventually just gave him a random meal and left.
If you're traveling, and can't speak English, I guess macaroni is a good first word.