You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: php/lesson2/tutorial.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,8 +25,7 @@ For this tutorial, we will be using the interactive mode of the PHP command-line
25
25
Let's try doing nothing. You can add comments in three ways:
26
26
```php
27
27
// Comment style 1 - anything after the double slash to the end of the line is ignored
28
-
# Comment style 2 - anything after the hash sign to the end of the line is ignored
29
-
/* Comment style 3 - anything to the next star and slash are ignored, can be in the middle of a
28
+
/* Comment style 2 - anything to the next star and slash are ignored, can be in the middle of a
30
29
line, or be several lines long */
31
30
```
32
31
Try these out and see absolutely nothing happen! We'll be using these on the end of our example lines to explain them and what you might see as output. You *don't* have to type out comments.
0 commit comments