protected static function builtin(&$context, $vars) {
        if ($context['flags']['nohbh']) {
            if (isset($vars[1][0])) {
                $context['error'][] = "Do not support {{#{$vars[0][0]} var}} because you compile with LightnCandy::FLAG_NOHBHELPERS flag";
            }
        } else {
            if (count($vars) < 2) {
                $context['error'][] = "No argument after {{#{$vars[0][0]}}} !";
            }
        }
        $context['usedFeature'][$vars[0][0]]++;
    }
protected static function builtin(&$context, $vars) {
        if ($context['flags']['nohbh']) {
            if (isset($vars[1][0])) {
                $context['error'][] = "Do not support {{#{$vars[0][0]} var}} because you compile with LightnCandy::FLAG_NOHBHELPERS flag";
            }
        } else {
            if (count($vars) < 2) {
                $context['error'][] = "No argument after {{#{$vars[0][0]}}} !";
            }
        }
        $context['usedFeature'][$vars[0][0]]++;
    }
protected static function builtin ( & $ context , $ vars ) { if ( $ context [ 'flags' ] [ 'nohbh' ] ) { if ( isset ( $ vars [ 1 ] [ 0 ] ) ) { $ context [ 'error' ] [ ] = "Do not support {{#{$vars[0][0]} var}} because you compile with LightnCandy::FLAG_NOHBHELPERS flag" ; } } else { if ( count ( $ vars ) < 2 ) { $ context [ 'error' ] [ ] = "No argument after {{#{$vars[0][0]}}} !" ; } } $ context [ 'usedFeature' ] [ $ vars [ 0 ] [ 0 ] ] ++ ; }
validate builtin helpers

@param array<string,array|string|integer> $context current compile context
@param array<boolean|integer|string|array> $vars parsed arguments list
validate builtin helpers