<分区>
Possible Duplicate:
PHP coding conventions?
是否有任何关于 PHP 的编码约定?我正在寻找特别的命名约定,例如:
For function use
nameOfFunction()
rather thanname_of_function()
或
For variables don't use
$first_array = array()
but$array['first'] = array()
或
Classes should always start with a capital letter:
class Name
有吗?难道不应该定义它们,以便不同的程序员现在可以了解整个代码是如何编写的吗?