jasonrogena / jasonrogena/php-excel-reader

$array['key'] = $data->dump(true, true); error

Open
#108 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

```
I get this when trying: $array['key'] = $data->dump(true, true);

PHP Fatal error: Cannot use object of type Spreadsheet_Excel_Reader as array
in,

but dump returns an array... no?
```

Original issue reported on code.google.com by `jose%jrc...@gtempaccount.com` on 7 Feb 2011 at 1:07

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the reported expression and inspect the dump method and the Spreadsheet_Excel_Reader object handling. Confirm whether dump returns an array and identify why the assignment triggers PHP's object-as-array fatal error; done means the behavior and correct usage are made clear or covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.