title: PHP - Callable method not as array
body: <p>Usually in PHP if you have a method <code>bar</code> of a class <code>Foo</code> and you'd like to pass it around as a callable, you use something like</p>
  
  <pre><code>$foo = new Foo();
  $callable = [$foo, 'bar'];
  </code></pre>
  
  <p>The downside of this is that <code>is_array($callable)</code> evaluates to <code>true</code>.</p>
  
  <p>Is there another feasible way to pass around a class method as a callable such that <code>is_array($callable)</code> returns <code>false</code>?</p>