til

Today I Learned: collection of notes, tips and tricks and stuff I learn from day to day working with computers and technology as an open source contributor and product manager

View project on GitHub

Comments

Comments in PHP are different.

PHP supports:

  • #
  • //

For single lines and:

  • /* */

For multi lines.

The multi line comments cannot be nested.

The single line comments work both from the beginning of a line and from their position to the end of a line

Comments outside: <?php ... ?> are printed, comments inside <?php ... ?> are not.

Resources and References