A

Admin • 828.03K Points
Coach

Q. What is the correct way to define a function in PHP?

  • (A) def myFunc()
  • (B) function myFunc()
  • (C) func myFunc()
  • (D) function:myFunc()
  • Correct Answer - Option(B)
  • Views: 13
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin
Functions are defined using the 'function' keyword.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.