title: Cannot redeclare class using array for the classes names
body: <p>I have an array of classes:</p>
  
  <pre><code>$array_items = [
      'User\Name',
      'Item\Name'
  ];
  </code></pre>
  
  <p>I need to execute a method from each one of them like:</p>
  
  <pre><code>foreach ($array_items as $class)
      (new $class)-&gt;get();
  endforeach;
  </code></pre>
  
  <p>But this way it throws an error "Cannot redeclare class User/Name" and that's it.</p>
  
  <p>If I try this, it's ok (but of course it outputs the User/Name twice):</p>
  
  <pre><code>foreach ($array_items as $class)
      (new \User\Name)-&gt;get();
  endforeach;
  </code></pre>
  
  <p>Any ideas why it's happening, or workarounds?</p>