PHP Comments # vs //

前端 未结 8 840
广开言路
广开言路 2020-12-09 08:43

Lately I\'ve been using # instead of // for doing single line comments inside my Code. However, I see must of the people prefer //.

8条回答
  •  南笙
    南笙 (楼主)
    2020-12-09 09:31

    You can use #, but // is much more common. It is also the agreed upon Code Convention in PEAR.

提交回复
热议问题