I get obsessed with the best names for arrays and variables that I use, I'll look up words in the thesaurus, dictionary, etc..
So I'm trying to name this array / structure:
$nameMe = array(
'392' => TRUE,
'234' => TRUE,
'754' => TRUE,
'464' => TRUE,
);
and it's used to check if that id has a certain property, like so
if(isset($name[$id])) {
doSomething();
}
Problem being I'm getting really long variable names like
$propertyNameArrayIdIndexed
Any ideas for how I can better name this particular function of array? or better names in general