Whhat is a Functions
A function is a block of statement, A function will not execute immediately when we run, we have to call the function to execute
example
<?php
function name(){ // for creating a function
echo "My name is -----";
}
name(); // calling the function
Is This Answer Correct ? | 4 Yes | 0 No |
How do I install php?
Can we run php on tomcat server?
Can I include php in javascript?
Tell me how to strip whitespace (or other characters) from the beginning and end of a string?
Can you explain, when to use if-else if-else over switch statements?
Explain the ternary conditional operator in php?
What is the function file_get_contents() useful for?
"$this" what type of object it is?
What are the final class and final method?
How do you use an array in excel?
What is difference between array_merge and array_combine?
Is php still in demand?