Advertisements
Advertisements
Question
Write the Syntax to define Function in PHP.
Short Note
Solution
SYNTAX:
function functionName()
{
Custom Logic code to be executed;
}
shaalaa.com
PHP Function and Array
Is there an error in this question or solution?
APPEARS IN
RELATED QUESTIONS
Which one of the following is the right way of defining a function in PHP?
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 User defined Function.
Name any two predefined functions.
Write the features of built-in Functions.
Differentiate user defined and system defined Functions.
Explain Function concepts in PHP.
Discuss in detail about User define Functions with a suitable example.