Possible Duplicate:
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 thanname_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?
There are the PEAR Standards