toArray() supports the following arguments:
/**
* @param mixed $nullValue Value returned in the array entry if a cell doesn't
* exist
* @param boolean $calculateFormulas Should formulas be calculated?
* @param boolean $formatData Should formatting be applied to cell values?
* @param boolean $returnCellRef False - Return a simple array of rows and
* columns indexed by number counting from zero
* True - Return rows and columns indexed by their
* actual row and column IDs
*/
so
toArray(NULL,TRUE,TRUE);
will return all the cell values in the worksheet (calculated and formatted) exactly as they appear in Excel itself.
So dates will be returned as (for example) 21-Dec-2011 07:30 rather than 47239.318 (depending on the format mask for the cell). Other numeric cells could be returned as 21,357.00 (depending on the format masking for that cell) so it is a two-edged sword.