<?php class Test { public function get($what) { return constant("self::" . $what); } } $test = new Test(); var_dump($test::OMG);
You have javascript disabled. You will not be able to edit any code.