protected static function section(&$context, $vars, $isEach = false) {
        if ($isEach) {
            static::builtin($context, $vars);
        } else {
            if ((count($vars) > 1) && !$context['flags']['lambda']) {
                $context['error'][] = "Custom helper not found: {$vars[0][0]} in " . Token::toString($context['currentToken']) . ' !';
            }
            $context['usedFeature']['sec']++;
        }
        return true;
    }
protected static function section(&$context, $vars, $isEach = false) {
        if ($isEach) {
            static::builtin($context, $vars);
        } else {
            if ((count($vars) > 1) && !$context['flags']['lambda']) {
                $context['error'][] = "Custom helper not found: {$vars[0][0]} in " . Token::toString($context['currentToken']) . ' !';
            }
            $context['usedFeature']['sec']++;
        }
        return true;
    }
protected static function section ( & $ context , $ vars , $ isEach = false ) { if ( $ isEach ) { static :: builtin ( $ context , $ vars ) ; } else { if ( ( count ( $ vars ) > 1 ) && ! $ context [ 'flags' ] [ 'lambda' ] ) { $ context [ 'error' ] [ ] = "Custom helper not found: {$vars[0][0]} in " . Token :: toString ( $ context [ 'currentToken' ] ) . ' !' ; } $ context [ 'usedFeature' ] [ 'sec' ] ++ ; } return true ; }
validate section token

@param array<string,array|string|integer> $context current compile context
@param array<boolean|integer|string|array> $vars parsed arguments list
@param boolean $isEach the section is #each

@return boolean Return true always
validate section token