Home > Backend Development > PHP Tutorial > PHP coding standards (2)_PHP tutorial

PHP coding standards (2)_PHP tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-13 17:20:22
Original
898 people have browsed it

3.1 Opening Notes

All source files should have a C-style comment at the beginning listing the class name, function, version information, date, author, and copyright statement:


/*
* Class name
* Function
* Version
* Date
* Author
* Copyright
*/

If the file is modified, the purpose of the modification, the date of modification, the person who modified it, and the version information of the file should be stated in the file header; if a part of the file is modified, a comment should be made in the file and the modified part should be identified. The starting and ending positions

……

/*
* Purpose of modification
* Date of modification
* Modifier
* Version
*/

……

Start of modification

……

……

End of modification

……


www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/532602.htmlTechArticle3.1 Comment at the beginning All source files should have a C language style comment at the beginning listing the class name , function, version information, date, author and copyright statement: /* * Class name * Function...
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template