title: Calling class via string classname
body: <p>I seem to be stuck on a very basic PHP issue.</p>
  
  <pre><code>        $test = new TestClass;
  </code></pre>
  
  <p>Works and creates an object of TestClass.</p>
  
  <pre><code>        $class = 'TestClass';
          $test = new $class;
  </code></pre>
  
  <p>Fails with the error Uncaught Error: Class 'TestClass' not found.</p>
  
  <p>Why is this failing? I used this a lot in the passed and then it always worked. Could it be because of the Namespaces? How do I need to load it then?</p>
  
  <p>All these classes are in the same namespace and are being called from the same namespace</p>