Translations:Manual:Coding conventions/PHP/245/en

Use UpperCamelCase when naming classes: $1. Use uppercase with underscores for global and class constants: $2. Other variables are usually lowercase or lowerCamelCase; avoid using underscores in variable names.