<?php
$ResultadoLinkATV = [
(object) ["idVisita" => 33],
(object) ["idVisita" => 34],
(object) ["idVisita" => 37]
];
$ids = array_column($ResultadoLinkATV, "idVisita");
PD9waHAKCiRSZXN1bHRhZG9MaW5rQVRWID0gWwogICAgKG9iamVjdCkgWyJpZFZpc2l0YSIgPT4gMzNdLAogICAgKG9iamVjdCkgWyJpZFZpc2l0YSIgPT4gMzRdLAogICAgKG9iamVjdCkgWyJpZFZpc2l0YSIgPT4gMzddCl07CgokaWRzID0gYXJyYXlfY29sdW1uKCRSZXN1bHRhZG9MaW5rQVRWLCAiaWRWaXNpdGEiKTsKCnZhcl9kdW1wKGpzb25fZW5jb2RlKCRpZHMpKTs=