public static function usernameInBlacklist($word, $username)
	{
		$word     = self::normalize($word);
		$username = self::normalize($username);

		$words   = array();
		$words[] = $username;
		$words[] = strrev($username);

		foreach ($words as $w)
		{
			if ($w == $word)
			{
				return true;
			}
		}

		return false;
	}
public static function usernameInBlacklist($word, $username)
	{
		$word     = self::normalize($word);
		$username = self::normalize($username);

		$words   = array();
		$words[] = $username;
		$words[] = strrev($username);

		foreach ($words as $w)
		{
			if ($w == $word)
			{
				return true;
			}
		}

		return false;
	}
public static function usernameInBlacklist ( $ word , $ username ) { $ word = self :: normalize ( $ word ) ; $ username = self :: normalize ( $ username ) ; $ words = array ( ) ; $ words [ ] = $ username ; $ words [ ] = strrev ( $ username ) ; foreach ( $ words as $ w ) { if ( $ w == $ word ) { return true ; } } return false ; }
Check if a username is in the blacklist

@param   string  $word
@return  bool
Check if a username is in the blacklist