<?php             && isset($tokens[$stackPtr]['nested_parenthesis']) === true
            && $tokens[$nextNonEmpty]['code'] === \T_LIST
        ) {
            $parentheses = \array_reverse($tokens[$stackPtr]['nested_parenthesis'], true);
            foreach ($parentheses as $open => $close) {
                if (isset($tokens[$open]['parenthesis_owner'])
                    && $tokens[$tokens[$open]['parenthesis_owner']]['code'] === \T_FOREACH