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