-
Which one of the following is the right way of defining a function in PHP?
-
- function fuuctionName(parameters) { function body }
- functionName(parameters) { function body }
- data type functionName(parameters) { function body }
- function { function body }
- None of these
Correct Option: A
function fuuctionName(parameters) { function body }