Ticket #1283 (new enhancement)

Opened 5 years ago

Last modified 4 years ago

PHP 5.3 compatibility: Assigning the return value of new by reference is deprecated

Reported by: bergie Assigned to: indeyets
Priority: critical Milestone: 8.09.10 Ragnaroek
Component: MidCOM core Version: 8.09 Ragnaroek
Keywords: php53 Cc:

Description

Running Ragnaroek MidCOM on PHP 5.3 I get a lot of:

Deprecated: Assigning the return value of new by reference is deprecated

These are caused by lines like:

$midcom_reflector =& new midcom_helper_reflector($matching_type);

Which must be changed to:

$midcom_reflector = new midcom_helper_reflector($matching_type);

Change History

07/24/09 11:23:21 changed by bergie

(In [23010]) These is_a checks are just plain wrong, refs #1283

10/20/09 14:17:48 changed by piotras

  • milestone changed from 8.09.6 Ragnaroek to 8.09.7 Ragnaroek.

01/17/10 02:20:17 changed by adrenalin

(In [24752]) Removed references to new class, refs #1283.

01/17/10 02:23:40 changed by adrenalin

(In [24753]) Removed references to new class, refs #1283.

02/03/10 17:23:50 changed by bergie

  • owner changed from bergie to indeyets.

03/17/10 15:51:09 changed by bergie

  • keywords set to php53.
  • type changed from defect to enhancement.

03/18/10 13:01:29 changed by indeyets

(In [25317]) eliminating assigning of objects by reference. refs #1283

03/18/10 13:16:57 changed by indeyets

(In [25318]) eliminating assigning of objects by reference. refs #1283

03/18/10 13:44:17 changed by indeyets

(In [25319]) eliminating assigning of objects by reference. refs #1283

03/18/10 16:18:50 changed by indeyets

(In [25321]) eliminating assigning of objects by reference. refs #1283

03/18/10 16:38:20 changed by indeyets

(In [25322]) eliminating assigning of objects by reference. refs #1283

03/18/10 16:54:38 changed by indeyets

(In [25323]) eliminating assigning of objects by reference. refs #1283

03/18/10 17:15:01 changed by indeyets

(In [25324]) eliminating assigning of objects by reference. refs #1283

03/18/10 17:52:33 changed by indeyets

(In [25325]) eliminating assigning of objects by reference. refs #1283

03/18/10 18:19:33 changed by indeyets

(In [25326]) eliminating assigning of objects by reference. refs #1283

03/18/10 18:48:43 changed by indeyets

(In [25327]) eliminating assigning of objects by reference. refs #1283

03/18/10 20:10:37 changed by indeyets

(In [25328]) eliminating assigning of objects by reference. refs #1283