PHP 7 compatibility issues (5.3.x)

Components

Labels

Description

Fix occurrences of following:

  1. usages of $this->$property['prop'] (e.g. in kDBList)

  2. usage of references inside foreach

  3. classes having method named the same as class name (the PHP4 constructor) are now deprecated

  4. usage of $HTTP_RAW_POST_DATA

Context Information

None

Additional information (do not use)

None

Activity

Alex September 1, 2015 at 8:21 AM

alex closed D79: - PHP 7 compatibility issues by committing rINP16226: Fixes - PHP 7 compatibility issues.
alex updated the diff for D79: - PHP 7 compatibility issues.

http://qa.in-portal.org/D79

[API] Administrator September 1, 2015 at 8:21 AM

User committed a fix to 5.3.x. Commit Message:

Fixes - PHP 7 compatibility issues

Differential Revision: http://qa.in-portal.org/D79

Alex September 1, 2015 at 8:13 AM

alex updated the diff for D79: - PHP 7 compatibility issues.
D79: - PHP 7 compatibility issues is now accepted and ready to land.
alex added a comment to D79: - PHP 7 compatibility issues.

Replaced PHP4-style constructors in a few more classes.

http://qa.in-portal.org/D79

Alex September 1, 2015 at 8:03 AM

alex planned changes to D79: - PHP 7 compatibility issues.
alex added a comment to D79: - PHP 7 compatibility issues.

Turns out I've forgot to update 2 more files having PHP4-style constructors in them:

  • core/units/helpers/json_helper.php

  • core/units/categories/cache_updater.php

http://qa.in-portal.org/D79

Gleb Sinkovskiy June 17, 2015 at 8:07 AM

glebs accepted D79: - PHP 7 compatibility issues.
D79: - PHP 7 compatibility issues is now accepted and ready to land.

http://qa.in-portal.org/D79

Fixed

Details

Priority

Assignee

Reporter

Developer

Reviewer

Change Log Group

Fixed

Change Log Message

Patch Instructions

Patches must be submitted through Phabricator.

Commit Revision

16,226

Story Points

Fix versions

Created May 30, 2015 at 9:47 PM
Updated December 29, 2024 at 11:27 PM
Resolved September 1, 2015 at 8:21 AM