PHP 7.4: Nesting ternary operators without explicit parentheses is deprecated
As described here, with the following example:
Code:
// Code like
$a ? $b : $c ? $d : $e
// should be replaced by (current interpretation)
($a ? $b : $c) ? $d : $e
// or (likely intended interpretation)
$a ? $b : ($c ? $d : $e)
Posting here because I've seen such constructs, but can't remember where.:(
Re: PHP 7.4: Nesting ternary operators without explicit parentheses is deprecated
Zen Cart core code has already addressed that.
But of course, plugins and other code-snippets posted around the forum may not have.