PHP commenting standards

后端 未结 3 572
走了就别回头了
走了就别回头了 2021-02-07 19:46

I need to comment massive amounts of information in only a handful of files, and when I look around Google and here at Stack Overflow, I continue to find results matching co

3条回答
  •  离开以前
    2021-02-07 20:16

    PHP Commenting is more freestyle than you may think. However, the reason why really specific comment standards becomes important is because of how they interact with particular IDE's for speeding up development. In that case, you'd be able to look up how an IDE wants you to comment.

    Whats important is usually marking what a functions @param's are and what it @return's

    You can see some good information about proper commenting in this stack overflow question and answer: What is the proper PHP function documentation format?

提交回复
热议问题