First, let's get to know the PHP comment syntax and *, single line comment, and multi-line comment .? Phpechohello, world !; Output text, single line comment? Or? Php ** output text, multi-line comment * echohello, world !;? If you want to develop programs in the Eclipse environment and use the appropriate remark syntax, you can move the mouse over the function.
First, let's get to know the PHP comments syntax // and *, single-line comments, and multi-line comments. ? Php echo hello, world !; // Output text, single line comment? Or? Php/** output text, multi-line comment */echo hello, world !; ? If you want to develop programs in the Eclipse environment and use the appropriate remark syntax, you can move the mouse over the function.
First, let's get to know the PHP comments Syntax "//" and "*", single-line comments, and multi-line comments.
Echo "hello, world !"; // Output text, single line comment
?>
Or
/*
* Output text, multi-line comment
*/
Echo "hello, world !";
?>
If you want to develop programs in the Eclipse environment and use the appropriate remark syntax, you can move the mouse over the function name to display the function information and parameter information.
/**
* Generate a URL
* @ Param integer $ page number
* @ Return string returns the string value.
*/
Private function url ($ page ){
Return str_replace (urlencode ('[PAGE]'), $ page, $ this-> url );
}
?>
Param. The keyword indicates the function parameter.
Returen. The keyword indicates the function return value.
Producer: no brother of feihu, no programming!
========================================================== ========================================================== =====
Welcome to the QQ Group for more exchanges: 305397511 focus on php, mysql, jquery, and open-source frameworks