This question already has an answer here:
- Characters allowed in php array keys? 9 answers
I am trying to do the below in php
array(
'email@domain.com' => 'something',
...
);
I did read that php accepts and number or valid string as key.
is it safe to have email id as key in the array as above ? by safe I mean is possible that this could cause any kind of error or exception or problem when coding wit this
Note: I would be having several 100 items in this array is there something that I need to take care while I do this
Please let me know
</div>