title: Echo specific line from each array
body: <p>I have the following dynamically generated array. The array values can change each time, but the positions remain the same (i.e. name will always be the 2nd item for each array).</p>
  
  <p>How would I echo the same specific line from each array?  For example, say I wanted all the names echoed together?</p>
  
  <pre><code>Array
  (
      [0] =&gt; WP_Term Object
          (
              [term_id] =&gt; 437
              [name] =&gt; 128 GB
              [slug] =&gt; 128-gb
              [term_group] =&gt; 0
              [term_taxonomy_id] =&gt; 437
              [taxonomy] =&gt; pa_phone-capacity
              [description] =&gt; 
              [parent] =&gt; 0
              [count] =&gt; 88
              [filter] =&gt; raw
          )
  
      [1] =&gt; WP_Term Object
          (
              [term_id] =&gt; 19
              [name] =&gt; AT&amp;T
              [slug] =&gt; att
              [term_group] =&gt; 0
              [term_taxonomy_id] =&gt; 19
              [taxonomy] =&gt; pa_phone-carrier
              [description] =&gt; 
              [parent] =&gt; 0
              [count] =&gt; 288
              [filter] =&gt; raw
          )
  
      [2] =&gt; WP_Term Object
          (
              [term_id] =&gt; 280
              [name] =&gt; Flawless
              [slug] =&gt; flawless
              [term_group] =&gt; 0
              [term_taxonomy_id] =&gt; 280
              [taxonomy] =&gt; pa_phone-condition
              [description] =&gt; Works perfectly.
  
  No noticeable flaws, still in its package or looks like new.
  
  Has zero scratches or scuffs.
              [parent] =&gt; 0
              [count] =&gt; 338
              [filter] =&gt; raw
          )
  
      [3] =&gt; WP_Term Object
          (
              [term_id] =&gt; 442
              [name] =&gt; iPhone
              [slug] =&gt; iphone
              [term_group] =&gt; 0
              [term_taxonomy_id] =&gt; 442
              [taxonomy] =&gt; pa_device
              [description] =&gt; 
              [parent] =&gt; 0
              [count] =&gt; 496
              [filter] =&gt; raw
          )
  
      [4] =&gt; WP_Term Object
          (
              [term_id] =&gt; 284
              [name] =&gt; iPhone 6 Plus
              [slug] =&gt; iphone-6-plus
              [term_group] =&gt; 0
              [term_taxonomy_id] =&gt; 284
              [taxonomy] =&gt; pa_phone-model
              [description] =&gt; 
              [parent] =&gt; 0
              [count] =&gt; 72
              [filter] =&gt; raw
          )
  
      [5] =&gt; WP_Term Object
          (
              [term_id] =&gt; 443
              [name] =&gt; Smartphone
              [slug] =&gt; smartphone
              [term_group] =&gt; 0
              [term_taxonomy_id] =&gt; 443
              [taxonomy] =&gt; pa_device
              [description] =&gt; 
              [parent] =&gt; 0
              [count] =&gt; 1352
              [filter] =&gt; raw
          )
  </code></pre>
  
  <p>I need a solution that will remain dynamic. Sometimes there might be 8 term objects, sometimes there might only be 5 like in the above array.  term_id will always be the first, name will always be the second, so on and so forth.</p>
  
  <p>This has been eluding me for at least an hour now and its frustrating me so much :(</p>