PHP development coding standards overall requirements


The PHP development specifications of the technical department will refer to the specifications of PEAR, basically adopt the specifications specified by PEAR, and add, modify or delete some specifications suitable for the specific development environment on the basis of them. This specification only focuses on coding specifications in the PHP development process. Specifications on files, directories, databases, etc. in PHP development projects will not be focused on.
This specification includes naming conventions, code indentation rules, control structures, function calls, function definitions, comments, comment blocks containing code, PHP tags, file headers, CVS tags, and URL samples in program coding during PHP development. , rules for constant naming, etc.