PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
It does because they could be constants, if you don't put quotes or php might in the future include a predefined constant with that name. It applies to all associative arrays.