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 |
What is an array in php?
How be the result set of mysql handled in php?
What is the best website to learn php?
What is $$ in php?
Is PHP runs on different platforms (Windows, Linux, Unix, etc.)?
What is use of in_array() function in php?
Is md5() is breakable if yes than how?
What is inheritance in php? How many types of inheritance supports php?
What is a persistent cookie in php?
How to compare two strings with comparison operators in php?
Tell us how can we display the output directly to the browser?
How can I learn php fast?