PHP coding specification (7 ). Comment The end of a row. you can comment out a part of the entire line or a row. It is generally not used for comments of multiple consecutive rows. However, it can be used to comment out multiple consecutive rows.
End comment of 4.4 rows
The annotator "//". you can comment out a part of the entire line or a row. It is generally not used for comments of multiple consecutive rows; however, it can be used to comment out code segments of multiple consecutive rows. The following are examples of all three styles:
If ($ foo> 1 ){
// Second usage.
...
}
Else {
Return false; // The reason for the returned value
}
// If ($ bar> 1 ){
//
/// Method 3
//...
//}
// Else {
// Return false;
//}
The end of the http://www.bkjia.com/PHPjc/532597.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/532597.htmlTechArticle4.4 line comment specifier "//", can comment out part of the entire line or line. It is generally not used for comments of multiple consecutive rows. However, it can be used to comment out multiple consecutive rows...