-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
If anyone is still maintaining this, there are a couple updates required to make this script compatible with PHP 8:
In the snippet "FileDownload" line 673 contains a create_function call which is deprecated:
array_walk($scriptProperties, create_function('&$val', 'if (!is_array($val)) $val = trim($val);'));
This can be changed to:
array_walk($scriptProperties, function(&$val){if (!is_array($val)){ $val = trim($val); }});
In model/php5-utf8/UTF8.php there are two issues that need fixing:
inline '#' comments need to be changed to '//'
all curly bracket references to characters within in a string such as: $char{1} need to be changed to $char[1]
With these changes it appears to work in PHP8
unze
Metadata
Metadata
Assignees
Labels
No labels