I'm new to PHP programming and I have a question about naming variables in PHP. I was wondering how to use underscores or camel case in variable names. I've seen both styles being used in various code examples, but I'm not sure when to use each one.
For example, I have a variable representing a user's age. Should I name it "user_age" or "userAge"? What are the best practices and conventions for naming variables in PHP?
Any advice or insights would be greatly appreciated. Thanks in advance!