original_string: protected function gcd($a, $b)
      {
          while ($b != 0) {
              $remainder = $a % $b;
              $a = $b;
              $b = $remainder;
          }
          return abs($a);
      }
code: protected function gcd($a, $b)
      {
          while ($b != 0) {
              $remainder = $a % $b;
              $a = $b;
              $b = $remainder;
          }
          return abs($a);
      }
code_tokens: protected function gcd ( $ a , $ b ) { while ( $ b != 0 ) { $ remainder = $ a % $ b ; $ a = $ b ; $ b = $ remainder ; } return abs ( $ a ) ; }
docstring: Calculate the greatest common divisor
  
  @param $a
  @param $b
  @return int
docstring_tokens: Calculate the greatest common divisor