echo and print are functions in PHP.

  • TRUE
  • FALSE
This statement is false. Although echo and print are used as language constructs in PHP, they are not functions. They are language constructs provided by PHP for outputting content. The main difference is that echo has no return value, while print returns a value of 1. Both echo and print are used without parentheses and are not considered functions. 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 *