Closed lat9 closed 3 years ago
Clarification for those who read this issue: PHP 8.1 will be disallowing $GLOBALS = []
and other mass-re-assignments.
Core Zen Cart code prefers to not use the $GLOBALS['foo'] = whatever;
syntax unless truly necessary, favoring global $foo; $foo=whatever;
syntax instead. That's what's driving these modifications.
Thanks, DrByte, for that clarification.
PHP 8.1 will be disallowing
$GLOBALS['value']
modifications (the construct can still be used for read-only use). See this blog-post for additional information.