title: How to pass ordinary function imported from another namespace as callable?
body: <p>Let's say that I have this import statement:</p>
  
  <pre><code>use function A\B\C\fun;
  </code></pre>
  
  <p>Then I could use <code>fun</code> like that:</p>
  
  <pre><code>$result = fun($something);
  </code></pre>
  
  <p>Now I would like to pass that <code>fun</code> to another function/method that expect <code>callable</code>, eg:</p>
  
  <pre><code>$other_array = array_map('fun', $some_array);
  $other_array = array_map('A\B\C\fun', $some_array);
  </code></pre>
  
  <p>Neither of those will work. PHP claim that <code>fun</code> is unrecognized, even though if called directly by either of those syntax variants <code>fun</code> will work.</p>