<?php namespace foo; class bar { public function baz() { echo substr(__CLASS__, strlen(__NAMESPACE__)); } } $b = new bar; $b->baz();
You have javascript disabled. You will not be able to edit any code.