PHPExcel Reader Example #13

Simple File Reader for Multiple CSV Files

Loading file example1.csv into WorkSheet #1 using IOFactory with a defined reader type of CSV

Deprecated: Optional parameter $pCoordinate declared before required parameter $pValue is implicitly treated as a required parameter in C:\Apache24\htdocs\web\8.1\xxx_Erp_Fbn_Beta_Cen_02\PHPExcel-1.8\Classes\PHPExcel\Worksheet.php on line 1477

Deprecated: auto_detect_line_endings is deprecated in C:\Apache24\htdocs\web\8.1\xxx_Erp_Fbn_Beta_Cen_02\PHPExcel-1.8\Classes\PHPExcel\Reader\CSV.php on line 249

Deprecated: Return type of PHPExcel_WorksheetIterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Apache24\htdocs\web\8.1\xxx_Erp_Fbn_Beta_Cen_02\PHPExcel-1.8\Classes\PHPExcel\WorksheetIterator.php on line 76

Deprecated: Return type of PHPExcel_WorksheetIterator::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Apache24\htdocs\web\8.1\xxx_Erp_Fbn_Beta_Cen_02\PHPExcel-1.8\Classes\PHPExcel\WorksheetIterator.php on line 94

Deprecated: Return type of PHPExcel_WorksheetIterator::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Apache24\htdocs\web\8.1\xxx_Erp_Fbn_Beta_Cen_02\PHPExcel-1.8\Classes\PHPExcel\WorksheetIterator.php on line 86

Deprecated: Return type of PHPExcel_WorksheetIterator::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Apache24\htdocs\web\8.1\xxx_Erp_Fbn_Beta_Cen_02\PHPExcel-1.8\Classes\PHPExcel\WorksheetIterator.php on line 104

Deprecated: Return type of PHPExcel_WorksheetIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Apache24\htdocs\web\8.1\xxx_Erp_Fbn_Beta_Cen_02\PHPExcel-1.8\Classes\PHPExcel\WorksheetIterator.php on line 66
Loading file example2.csv into WorkSheet #2 using IOFactory with a defined reader type of CSV

Deprecated: auto_detect_line_endings is deprecated in C:\Apache24\htdocs\web\8.1\xxx_Erp_Fbn_Beta_Cen_02\PHPExcel-1.8\Classes\PHPExcel\Reader\CSV.php on line 249

Warning: Trying to access array offset on value of type bool in C:\Apache24\htdocs\web\8.1\xxx_Erp_Fbn_Beta_Cen_02\PHPExcel-1.8\Classes\PHPExcel\Cell\DefaultValueBinder.php on line 82

Warning: Trying to access array offset on value of type bool in C:\Apache24\htdocs\web\8.1\xxx_Erp_Fbn_Beta_Cen_02\PHPExcel-1.8\Classes\PHPExcel\Cell\DefaultValueBinder.php on line 82

Warning: Trying to access array offset on value of type bool in C:\Apache24\htdocs\web\8.1\xxx_Erp_Fbn_Beta_Cen_02\PHPExcel-1.8\Classes\PHPExcel\Cell\DefaultValueBinder.php on line 82

2 worksheets loaded

Worksheet #0 -> example1.csv

Warning: Trying to access array offset on value of type null in C:\Apache24\htdocs\web\8.1\xxx_Erp_Fbn_Beta_Cen_02\PHPExcel-1.8\Classes\PHPExcel\Calculation.php on line 3349

Fatal error: Array and string offset access syntax with curly braces is no longer supported in C:\Apache24\htdocs\web\8.1\xxx_Erp_Fbn_Beta_Cen_02\PHPExcel-1.8\Classes\PHPExcel\Calculation\Functions.php on line 324