Project

General

Profile

Actions

Bug #2114

closed

Depreciated PHP Functions/Warnings

Added by Jim Pingle over 12 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Very Low
Assignee:
-
Category:
Web Interface
Target version:
-
Start date:
01/19/2012
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:

Description

In PHP 5.3 some depreciation warnings were introduced, which we may want to tackle as they are found.

Here are some samples:


Deprecated: Function split() is deprecated in /usr/local/sbin/pfSsh.php on line 313

Deprecated: Assigning the return value of new by reference is deprecated in /etc/inc/shaper.inc on line 403

Deprecated: Assigning the return value of new by reference is deprecated in /etc/inc/shaper.inc on line 406

Deprecated: Assigning the return value of new by reference is deprecated in /etc/inc/shaper.inc on line 409

Deprecated: Assigning the return value of new by reference is deprecated in /etc/inc/shaper.inc on line 412

Deprecated: Assigning the return value of new by reference is deprecated in /etc/inc/shaper.inc on line 1376

Deprecated: Assigning the return value of new by reference is deprecated in /etc/inc/shaper.inc on line 2077

Deprecated: Assigning the return value of new by reference is deprecated in /etc/inc/shaper.inc on line 2853

Deprecated: Assigning the return value of new by reference is deprecated in /etc/inc/shaper.inc on line 3696

Deprecated: Assigning the return value of new by reference is deprecated in /etc/inc/shaper.inc on line 3916

Deprecated: Assigning the return value of new by reference is deprecated in /etc/inc/shaper.inc on line 3958

Note that you may have to turn error_reporting up to E_ALL to see these.

Since these still work now it isn't critical to do but still worth noting for the future.

Actions

Also available in: Atom PDF