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
Solution
function functionName(parameters) { function body }
shaalaa.com
PHP Function and Array
Is there an error in this question or solution?
APPEARS IN
RELATED QUESTIONS
A function in PHP starts with ______.
______ stores more than one value of same data type in single array variable.
In PHP arrays are of ____ types.
Define Function in PHP.
Name any two predefined functions.
What is function call?
Differentiate user defined and system defined Functions.
Write short note on predefined or built-in functions.
Explain Function concepts in PHP.
Discuss in detail about User define Functions with a suitable example.