--TEST-- Check for vtiful presence --SKIPIF-- --FILE-- './tests']; $excel = new \Vtiful\Kernel\Excel($config); $filePath = $excel->fileName('open_xlsx_next_row.xlsx') ->header(['Item', 'Cost']) ->data([ ['Item_1', 'Cost_1'], ]) ->output(); $excel->openFile('open_xlsx_next_row.xlsx') ->openSheet(); var_dump($excel->nextRow()); var_dump($excel->nextRow()); var_dump($excel->nextRow()); var_dump($excel->nextRow()); var_dump($excel->nextRow()); var_dump($excel->nextRow()); var_dump($excel->nextRow()); ?> --CLEAN-- --EXPECT-- array(2) { [0]=> string(4) "Item" [1]=> string(4) "Cost" } array(2) { [0]=> string(6) "Item_1" [1]=> string(6) "Cost_1" } NULL NULL NULL NULL NULL