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 are the Merits and De-Merits of CURL library ?
How are variables declared in php?
What is prepared statement in php?
Who is the father of PHP and explain the changes in PHP versions?
2 Answers Rushmore Consultancy,
If the variable $a is equal to 5 and variable $b is equal to character a, what’s the value of $$b? Can anyone explain how's the value of $$b=100
15 Answers ABC, Asan, Indivar, Swistro Marketing Solutions,
What's the difference between __sleep and __wakeup?
What is session in php w3schools?
Does php support inheritance?
Do you know what does $globals means?
What are the differences between echo and print?
What happens when submit button is clicked?
Extract url from this string? It should be flexible for all strings, not for this string only. "yahoo.comyahoo.co.inhotmail.org"