title: Get class name of executed static function without namespace
body: <p>Calling <code>get_called_class()</code> in PHP from a static function gives you the class name of the function, including the namespace if called from outside that namespace, it seems.</p>
  
  <p>Is there a way to acquire the class name without the namespace?</p>
  
  <p>(Obviously I understand that it would be possible to examine the string returned by <code>get_called_class()</code> and do some hackish stuff, but I am hoping there is a less hackish way to do it)</p>