public function isSameString($leftString, $rightString)
    {
        if (is_string($leftString) && is_string($rightString) &&
            strlen($leftString) == strlen($rightString) &&
            md5($leftString) == md5($rightString)
        )
        {
            return true;
        }

        return false;
    }
public function isSameString($leftString, $rightString)
    {
        if (is_string($leftString) && is_string($rightString) &&
            strlen($leftString) == strlen($rightString) &&
            md5($leftString) == md5($rightString)
        )
        {
            return true;
        }

        return false;
    }
public function isSameString ( $ leftString , $ rightString ) { if ( is_string ( $ leftString ) && is_string ( $ rightString ) && strlen ( $ leftString ) == strlen ( $ rightString ) && md5 ( $ leftString ) == md5 ( $ rightString ) ) { return true ; } return false ; }
check the strings is the same or not
@param string $leftString
@param string $rightString
@return bool
check the strings is the same or not