prepare($query); $query->execute([ 'visible' => $fetch_invisible_threads, 'limit' => intval($limit) ]); return $query->fetchAll(); }