<?php class Foo { const VALUES = array( 'a', 'b', 'c' ); const SOMEVALUE = self::VALUES[0]; public function __construct() { var_dump(self::VALUES); } } var_dump(new Foo);
You have javascript disabled. You will not be able to edit any code.