<?php class Foo { const USE_ASSERTS = FALSE; public function bar() { return $this::USE_ASSERTS; } } $c = new Foo; var_dump($c->bar());
You have javascript disabled. You will not be able to edit any code.