title: How to pass constructor as callback
body: <p>I'm trying to use array_map to map the array to actual instances of my class.</p>
  
  <pre><code>class Pet {
  
      private $petName;
  
      public function __construct($args) {
          $this-&gt;petName = $args['petName'];
      }
  
  }
  
  $array = [['petName' =&gt; 'puppy'], ['petName' =&gt; 'kitty']];
  
  $instances = array_map([Pet::class, '__construct'], $array);
  </code></pre>
  
  <p>However it ends in error:
  <code>non-static method Pet::__construct() cannot be called statically</code></p>
  
  <p>Is it possible to pass constructor call as callback (beside wraping it in closure)? </p>