<?php class C { const ENC = 1; const DEC = 2; const A = [ self::ENC => 'e', self::DEC => 'd' ]; } $c = new C(); print_r($c::A);
You have javascript disabled. You will not be able to edit any code.