I'm likely thinking of this wrong, but is there a function to set a static value for each key in a PHP array?
For example, is there a fancy alternative to this:
$staticVal = 1;
$myArray = array('key1'=> $staticVal, 'key2' => $staticVal, 'key3' => $staticVal, 'key4' => $staticVal);
Thanks in advance guys.