Changed definition of "double" line comment (#22203)
The correct is "multiple" line comment
This commit is contained in:
committed by
Manish Giri
parent
c9a315f58a
commit
6a97a4bb93
@ -47,11 +47,12 @@ To write a single line comment in PHP we put hashtag `#` or by putting `//` befo
|
|||||||
// This is also a single line comment
|
// This is also a single line comment
|
||||||
?>
|
?>
|
||||||
```
|
```
|
||||||
To write a double line comment we start the comment with `/*` and end with `*/`.
|
|
||||||
|
To write a multiple line comment we start the comment with `/*` and end with `*/`.
|
||||||
```php
|
```php
|
||||||
<?php
|
<?php
|
||||||
/* This is a
|
/* This is a
|
||||||
Double line comment. */
|
Multiple line comment. */
|
||||||
?>
|
?>
|
||||||
```
|
```
|
||||||
We can also comment out some parts of the code line.
|
We can also comment out some parts of the code line.
|
||||||
|
Reference in New Issue
Block a user