Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP coding conventions? [closed]

Tags:

php

Where can I find PHP coding convention references for PHP coding standards?

like image 530
Moshe Avatar asked Dec 08 '09 00:12

Moshe


2 Answers

I suggest Zends Coding Standard: http://framework.zend.com/manual/1.12/en/coding-standard.html

like image 180
Björn Avatar answered Oct 04 '22 18:10

Björn


The PEAR coding standards have been around for a while now. I believe they are the default for the PHP code sniffer.

like image 40
Ewan Todd Avatar answered Oct 04 '22 18:10

Ewan Todd