original_string: public function findTableInArray($tablename) {
          foreach ($this->tables as $i => $table) {
              if ($tablename == $table->getName()) {
                  return $i;
              }
          }
          return null;
      }
code: public function findTableInArray($tablename) {
          foreach ($this->tables as $i => $table) {
              if ($tablename == $table->getName()) {
                  return $i;
              }
          }
          return null;
      }
code_tokens: public function findTableInArray ( $ tablename ) { foreach ( $ this -> tables as $ i => $ table ) { if ( $ tablename == $ table -> getName ( ) ) { return $ i ; } } return null ; }
docstring: Returns the position of one table in the array.
  @param string $tablename
  @return mixed
docstring_tokens: Returns the position of one table in the array .