Home >Backend Development >PHP Tutorial >PHP comments are prone to errors in the PHP closing tag environment
In php, everything after the comment symbol and before the end of the line, or before the php closing tag is a comment.
In the above line of code, the text "here is a comment" before the closing tag is part of the comment. The text "here is not" after the closing tag will be treated as html because it is outside the closing tag. |