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 polymorphism in php?
What does $_env mean?
How do I sort numbers in php?
What is str_replace()?
What is the main difference between require() and require_once()?
How to add a cookie?
how can i disable multiple user in the same password in my website using any scripts
Explain the ternary conditional operator in php?
What is a static variable in php?
If the variable $var1 is set to 10 and the $var2 is set to the character var1, what's the value of $$var2?
What is php's mysqli extension?
Is php case sensitive?