> 
> **Possible Duplicate:**  
> 
> [PHP coding conventions?](https://stackoverflow.com/questions/1863790/php-coding-conventions) 
> 
> 
> 

Are there any coding conventions regarding PHP? I'm looking for naming convention in particular such as:

> 
> For function use `nameOfFunction()` rather than `name_of_function()`
> 
> 
> 

or 

> 
> For variables don't use `$first_array = array()` but `$array['first'] = array()`
> 
> 
> 

or

> 
> Classes should always start with a capital letter: `class Name`
> 
> 
> 

Are there any? Shouldn't they be defined so that different programmers will now how the entire code is written?