Coding Standards

Variable Naming Standards

There is no definitive naming convention in PHP, and they differ by framework:

So: Use whatever your framework uses or create your own naming convention.

At least for function names and class methods, there is a one thing to consider, but some frameworks discard it: PHP is case insensitive in that case, so aTonalFunction() atonalFunction() &?php &?= StudlyCaps UPPER_CASE camelCase namespace use abstract final static must be declared after the visibility.