The ______ statement in PHP is not actually a function, so you can use it without parentheses.

  • echo
  • print
  • printf
  • display
The print statement in PHP is not actually a function, so you can use it without parentheses. It is a language construct rather than a function. This allows you to use it like a statement without the need for parentheses. However, if you choose to use parentheses with print, it will still work without any issues. Learn more: 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 *