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 |
Describe session in php.
What is the current php version?
What is print_r?
we have two tables first one is EMPLOYEE having EmpID, EmpNAME, Second table is SALARY table having id, salary Write a query to get name of those person who having more than 10000$ salary
How to track user logged out or not? When user is idle?
How to avoid the undefined index error?
what is the dirrence in PHP4 & PHP5 . ?
What is the use of paypal in the e-commerece website?
What is the difference between PHP,ASP and JSP?
What are the benefits of composer?
What is compact function php?
How many escape sequences are recognized in single-quoted strings?