function inspectIncludeForZephyr($response, &$bad, &$horizon, $bad_zephyr_functions)
{
    $hits = inspectForZephyr($response["content_html"], $bad_zephyr_functions);
    if ($hits) {
        $preg_hits_array = [];
        foreach ($hits as $tmp) {
            array_push($preg_hits_array, preg_quote($tmp));
        }
        $bad_functions = array_intersect($bad_zephyr_functions, $preg_hits_array);
        if ($bad_functions) {
            array_push($bad, $response["name"]);
        }
        if (in_array("horizon_select(", $hits)) {
            array_push($horizon, $response["name"]);
        }
    }
    return;
}
function inspectTemplateForIncludes($response, $includes_saved)
{
    print $response["name"] . "\n";
    inspectForZephyr($response["content_html"]);
    inspectForZephyr($response["setup"], $bad_zephyr_functions);
}