title: PHP: looking for something like Java Stream API
body: <p>Is there a way to convert array of <strong>objects</strong> into an <strong>array  of strings</strong> using some custom mapping in PHP. Like:</p>
  
  <pre><code>$objs = array(o1, o2, o3);
  
  ...
  
  $strings = conv($objs, function($o) -&gt; $o-&gt;fieldXYZ);
  </code></pre>
  
  <p>instead of:</p>
  
  <pre><code>$objs = array(o1, o2, o3);
  
  ...
  
  $strings = array();
  
  foreach($objs as $obj) {
      $strings []= $obj-&gt;fieldXYZ;
  }
  </code></pre>