Explain about Functions in PHP?
Answer / zahid
There are type type of function in php,
User defined function
System defined function
Example of user defined function
function abc()
{
return "hello world";
}
echo abc();
Example of systek defined function
$name = "Zahid";
echo strlength($name);
//Outpur 5, here is strlength is php system defind, and many more function availalbe in php
Is This Answer Correct ? | 0 Yes | 0 No |
Explain how we can retrieve the data in the result set of mysql using php?
What does $_server mean?
What type of headers have to be added in the mail function to attach a file?
What is api example?
Does php have multiple inheritance?
What is string and its function?
what method is used to get a user's IP address?
Tell me how is it possible to propagate a session id?
Whhat is a Functions
How is the ternary conditional operator used in php?
How to get path of php.ini with a php script?
What is the use of explode() function?