iterationStack ?? []); if ( $count > 0 ) { $name .= "[" . $context->iterationStack[$count - 1]['uid'] . "]"; } $context->iterationStack[] = [ 'or' => false, 'uid' => $name, 'token' => 'endforeach', ]; return ""; case "endforeach": if ( end($context->iterationStack)['or'] === false ) { $output = ""; } else { $output = ""; } array_pop($context->iterationStack); return $output; } } }