Single Line Comments

suggest change

The single line comment begins with “//” or “#”. When encountered, all text to the right will be ignored by the PHP interpreter.

// This is a comment

# This is also a comment

echo "Hello World!"; // This is also a comment, beginning where we see "//"

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents