original_string: protected function pass($mac, $macHash)
      {
          $time = time();
          $hash = $this->getTextHash($mac);
          $pass = $this->passFromSession($macHash, $hash, $time);
  
          // if captcha info was NOT stored in session
          if ($pass === null) {
              $pass = $this->passFromDb((int) $macHash, $hash, $time);
          }
  
          return (bool) $pass;
      }
code: protected function pass($mac, $macHash)
      {
          $time = time();
          $hash = $this->getTextHash($mac);
          $pass = $this->passFromSession($macHash, $hash, $time);
  
          // if captcha info was NOT stored in session
          if ($pass === null) {
              $pass = $this->passFromDb((int) $macHash, $hash, $time);
          }
  
          return (bool) $pass;
      }
code_tokens: protected function pass ( $ mac , $ macHash ) { $ time = time ( ) ; $ hash = $ this -> getTextHash ( $ mac ) ; $ pass = $ this -> passFromSession ( $ macHash , $ hash , $ time ) ; // if captcha info was NOT stored in session if ( $ pass === null ) { $ pass = $ this -> passFromDb ( ( int ) $ macHash , $ hash , $ time ) ; } return ( bool ) $ pass ; }
docstring: Verifies captcha input vs supplied hash. Returns true on success.
  
  @param string $mac     User supplied text
  @param string $macHash Generated hash
  
  @return bool
docstring_tokens: Verifies captcha input vs supplied hash . Returns true on success .