original_string: public function getAccountId()
      {
          $segments = $this->getSegments();
  
          if (reset($segments) === 'account' && isset($segments[1]) && ctype_digit($segments[1])) {
              return (int) $segments[1];
          }
  
          return false;
      }
code: public function getAccountId()
      {
          $segments = $this->getSegments();
  
          if (reset($segments) === 'account' && isset($segments[1]) && ctype_digit($segments[1])) {
              return (int) $segments[1];
          }
  
          return false;
      }
code_tokens: public function getAccountId ( ) { $ segments = $ this -> getSegments ( ) ; if ( reset ( $ segments ) === 'account' && isset ( $ segments [ 1 ] ) && ctype_digit ( $ segments [ 1 ] ) ) { return ( int ) $ segments [ 1 ] ; } return false ; }
docstring: Returns a user ID from the path
  @return boolean|integer
docstring_tokens: Returns a user ID from the path