<?php class Foo { const INDEX = 1; public $array = array(self::INDEX => 'a', 'b', 'c'); } var_dump((new Foo)->array);
You have javascript disabled. You will not be able to edit any code.