<?php class klass { const KONSTANT = 3; function funktion() { echo constant('self::KONSTANT'); } } $a = new A; $a->func();
You have javascript disabled. You will not be able to edit any code.