Single Choice Not Set

QWhich one of the following is the right way of defining a function in PHP?

ID: #2419 Functions in PHP MCQ 666 views
Question Info
#2419Q ID
Not SetDifficulty
Functions in PHP MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A function { function body } ✔ ✖
  • B data type functionName(parameters) { function body } ✔ ✖
  • C functionName(parameters) { function body } ✔ ✖
  • D function fumctionName(parameters) { function body } ✔ ✖
Correct Answer

Explanation

function fumctionName(parameters) { function body }

Share This Question

Challenge a friend or share with your study group.