This is because you asked PHPExcel to provide you with the entire worksheet as an array.
If you just want to use cell value A1:
$objPHPExcel->getActiveSheet()->getCell('A1')->getValue();
instead
$objPHPExcel->getActiveSheet()->toArray(null,true,true,true);
Read more about this in the documentation , in this case the file "PHPExcel developer documentation.pdf".
Then you can also completely remove the read filter. Cells are read in a lazy way, so you donβt save anything with a read filter if you still only get access to cell A1.
source share