In PHP, a function is a self-contained block of code that performs a specific task.

  • TRUE
  • FALSE
Yes, in PHP, a function is a self-contained block of code that performs a specific task. It is a way to organize and reuse code in a modular manner. Functions can take input parameters and return a value or perform an action. They help improve code readability and maintainability. Learn more: https://www.php.net/manual/en/functions.user-defined.php
Add your answer
Loading...

Leave a comment

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