In PHP, both echo and print can output strings, variables, and HTML code.

  • TRUE
  • FALSE
This statement is true. In PHP, both the echo and print statements can be used to output strings, variables, and HTML code. They are used for similar purposes and have similar functionality in terms of outputting content. You can use both echo and print to display plain text, HTML tags, variable values, or a combination of them. However, there are some subtle differences between echo and print. Learn more: https://www.php.net/manual/en/function.echo.php https://www.php.net/manual/en/function.print.php
Add your answer
Loading...

Leave a comment

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