fork download
  1. <?php
  2.  
  3. $ResultadoLinkATV = [
  4. (object) ["idVisita" => 33],
  5. (object) ["idVisita" => 34],
  6. (object) ["idVisita" => 37]
  7. ];
  8.  
  9. $ids = array_column($ResultadoLinkATV, "idVisita");
  10.  
Success #stdin #stdout 0.01s 82880KB
stdin
Standard input is empty
stdout
string(10) "[33,34,37]"