Advertisements
Advertisements
Question
Which one of the following is the right way of defining a function in PHP?
Options
function { function body }
data type functionName(parameters) { function body }
functionName(parameters) { function body }
function functionName(parameters) { function body }
MCQ
Advertisements
Solution
function functionName(parameters) { function body }
shaalaa.com
Is there an error in this question or solution?
