CodeIgniter-HMVC
CodeIgniter-HMVC copied to clipboard
each deprecated in Modules Line 83
Hello, after Update to PHP 7.2 I become this Message. Line 83: (is_array($module)) ? list($module, $params) = each($module) : $params = NULL; How can I resolve this Problem?
Ok, after study the PHP-Manual i solved it. (is_array($module)) ? list($module, $params) = [key($module), current($module)] : $params = NULL;
may i know which line in specific, sorry for the delay
@alzen8work
https://github.com/alzen8work/CodeIgniter-HMVC/blob/803c6d925d70c3f88cf8d139ccf1424333fd3929/application/third_party/MX/Modules.php#L83