jasonrogena / jasonrogena/php-excel-reader

PHP Deprecated Function

Open
#130 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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.Runing example.php
2.
3.

What is the expected output? What do you see instead?
PHP Errors:
1. Assigning the return value of new object by reference is deprecated
$this->_ole =& new OLERead()
2. Deprecated: Function split() is deprecated

Please provide any additional information below.
1. Don't use reference for new objects, $this->_ole = new OLERead()
2. I used explode instead of split and it works ;)

Tamer Elnahal
```

Original issue reported on code.google.com by `elna...@gmail.com` on 17 Oct 2011 at 1:27

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running example.php and locating the OLERead construction and split() call mentioned in the report. Update those deprecated usages as described, then rerun the example to confirm the PHP deprecation messages no longer appear.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.