1





A comment is text in a script that is ignored by the PHP engine. Comments can be used tomade code more  readable or to annotate a script.

In PHP comment is two kinds
1. Single line comments.
2. Multiline comments.

1=> Single-line comments begin with two forward slasses(//) or a single hash sign(#) . All text from either of these marks until either the end of the line or the PHP close tag is ignored .

// This is a comment.
# This is a comment.

2=> Multiline comments begin with a forward slash followed by an asterisk(/*) and end with an asterisk followed by a foreard slash(*/) Like
/* This is a comment
    none of this will
    be parsed by the
    PHP engine
*/
Hope you enjoy it.Thanks

Post a Comment

  1. String functions php I have read all the comments and suggestions posted by the visitors for this article are very fine,We will wait for your next article so only.Thanks!

    ReplyDelete

 
check pagerank
Top