<?php class Test { const FIRST = 1; public $array = array( self::FIRST => 'first', 'second', 'third' ); } $x = new Test; var_dump($x->array);
You have javascript disabled. You will not be able to edit any code.