jasonrogena / jasonrogena/php-excel-reader

rowcount() outputs number of rows 0

Open
#181 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
PHP
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
What steps will reproduce the problem?
1. try to read large excel sheet that has 65536 rows.
$xls = new Spreadsheet_Excel_Reader("filename.xls");
echo $xls->rowcount();

What is the expected output? What do you see instead?

Expected : It should output the number of rows int the sheet.

Current : Output is 0.

Please provide any additional information below.

Note : It gives correct number of rows for a file with less number of rows.
(e.g: i tried with a sheet that had 500 rows)
output : 500

```

Original issue reported on code.google.com by `amber.ku...@gmail.com` on 8 Nov 2013 at 9:19

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at Spreadsheet_Excel_Reader->rowcount() and reproduce the problem with an XLS sheet containing 65,536 rows, comparing it with the reported 500-row case. Done means rowcount() returns the sheet's actual row count for the large file while preserving the correct result for smaller files; no test file is mentioned.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.