Answer Posted / nagaraju.ch
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 |
Post New Answer View All Answers
List some array functions in php?
What is namespace and use in php?
Tell me how can you pass a variable by reference?
What are the four scalar types of php?
Tell me what does $_env means?
Tell me how to find current date and time?
How to read the entire file into a single string?
How to get a total number of rows available in the table?
Explain what is meant by pear in php?
What is the use of token in php?
What is meant by pdo in php?
What are the string function in php?
How to create connection in php?
What is PECL?
What are the advantages of object-oriented programming in php?