PHP allows for both single-line and multi-line comments.

  • TRUE
  • FALSE
PHP does support both single-line and multi-line comments. Single-line comments can start with // or #, while multi-line comments are enclosed between /* and */. Comments are a critical part of any programming language, allowing developers to add context or explanation to their code, or to prevent certain lines of code from being executed without deleting them. Learn more: https://www.php.net/manual/en/language.basic-syntax.comments.php
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *