<?phpclass Filter{ static function strlen($var) { return strlen(trim($var)); } static function encode($var) { return md5(md5(base64_encode($var))); }}