title: PHP 5.5 Classname Resolution
body: <p>PHP 5.5 has implemented as a new feature a new way to retrieve the classname through the syntax <code>::class</code>:</p>
  
  <pre><code>&lt;?php
  
  namespace Testing;
  
  class Test{}
  
  echo Test::class; // Testing\Test;
  </code></pre>
  
  <p>This works perfectly, alright? BUt what me and some other friends wanted to know is why this syntax also returns a classname when used alongside an undeclared class. E.g.:</p>
  
  <pre><code>&lt;?php
  
  echo UndeclaredClass::class; // UndeclaredClass
  </code></pre>
  
  <p>In several other cases an error is raised, but not here. Anyone know, with concrete basis if possible, why does this happen?</p>
  
  <p>Does it have anything to Late Static Bindings or it's just a (temporary) limitation/bug of this brand new feature?</p>