Simple question about PHP variable-naming conventions
Posted on 2014-01-13
Having come from Java, the common naming convention developers use is the camelback notation, e.g. firstName, companyName, etc.
I'm going through a PHP book right now, and I notice that the author uses all lower case, multiple words being delineated by an underscore, e.g. first_name, company_name, etc.
I'm actually transitioning from Java to PHP, and I'm just curious. What is the MOST common variable naming convention PHP developers use, if there is one?
Only people who are working as PHP developers should respond, please.