<?php class A { public function showDecimals() {return constant("self::" . __FUNCTION__);} const showDecimals = 'showDecimals'; } //echo A::showDecimals; $a = new A; echo $a->showDecimals();
You have javascript disabled. You will not be able to edit any code.