mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #48575
[Bug 1752743] Re: Need to tidy up code for deprecated php functions
** Changed in: mahara
Assignee: (unassigned) => Rebecca Blundell (rjb-dev)
** Changed in: mahara
Status: Confirmed => In Progress
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1752743
Title:
Need to tidy up code for deprecated php functions
Status in Mahara:
In Progress
Bug description:
The following functions that are used in Mahara will be deprecated for
PHP 7.2
- create_function()
- each()
So should be replaced with better code.
the create_function() can be replaced with the use of an anonymous
function and each() should be altered to work with a foreach loop
instead
And the function assert() should be checked to make sure the argument
is not a string to be evaluated
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1752743/+subscriptions
References