Is it okay to use array[key] in PHP?
- by terrani
Hi,
I have a simple question. Is it okay to use array without single or double quotion like $array[key]? I thought it is bad because PHP look for constant first if I don't use single or doulbe quotion. One of my colleagues told me that it does not matter.
WHat do you guys think?