syntax for defining function in php
Answers
Answered by
2
Here is it...
function functionName() {
code to be executed;
}
Actually, it is similar to many other languages
Answered by
0
Explanation:
PHP functions are similar to other programming languages. A function is a piece of code which takes one more input in the form of parameter and does some processing and returns a value. ... They are built-in functions but PHP gives you option to create your own functions as well.
Similar questions