Which keyword is used to define a function in PHP?

101. Which keyword is used to define a function in PHP?

  1. def
  2. fun
  3. func
  4. function

Answer: D) function

Explanation:

The function keyword is used to define a function in PHP.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.