PHP Code Specification (2) _php tutorial

Source: Internet
Author: User
3.1 Opening comments

All source files should have a C-style comment at the beginning that lists the class name, feature, version information, date, author, and copyright notice:


/*
* Class Name
* function
* Version
* Date
* Author
* Copyright
*/

If the file is modified, it should be in the file header to explain the purpose of modification, modify the date, modify the person, and change the version information of the file, if you modify the part of the file, you can comment in the file, and identify the beginning and end of the modified section

......

/*
* Purpose of modification
* Date Modified
* Modify People
* Version
*/

......

Modify Start

......

......

Modify End

......


http://www.bkjia.com/PHPjc/532602.html www.bkjia.com true http://www.bkjia.com/PHPjc/532602.html techarticle 3.1 Start note All source files should have a C-style comment at the beginning, listing the class name, feature, version information, date, author, and copyright notice:/* * Class name * Work ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.