original_string: public function toArray($sheet = 0)
      {
          $arr = array();
          for ($row = 1; $row <= $this->rowcount($sheet); $row++) {
              for ($col = 1; $col <= $this->colcount($sheet); $col++) {
                  $arr[$row][$col] = $this->val($row, $col, $sheet);
              }
          }
  
          return $arr;
      }
code: public function toArray($sheet = 0)
      {
          $arr = array();
          for ($row = 1; $row <= $this->rowcount($sheet); $row++) {
              for ($col = 1; $col <= $this->colcount($sheet); $col++) {
                  $arr[$row][$col] = $this->val($row, $col, $sheet);
              }
          }
  
          return $arr;
      }
code_tokens: public function toArray ( $ sheet = 0 ) { $ arr = array ( ) ; for ( $ row = 1 ; $ row <= $ this -> rowcount ( $ sheet ) ; $ row ++ ) { for ( $ col = 1 ; $ col <= $ this -> colcount ( $ sheet ) ; $ col ++ ) { $ arr [ $ row ] [ $ col ] = $ this -> val ( $ row , $ col , $ sheet ) ; } } return $ arr ; }
docstring: export to multi dimensional array
  @param integer $sheet
  @return array
docstring_tokens: export to multi dimensional array