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 Advantages and Application Areas of PHP?
What is the use of $_server and $_env?
How many ways there are to fetch the data from the Database?
m new to xampp i want to configure file server in xampp... is it possible ??? if so help me....
what is mean php ? is it designingtool or language? how ill create website using by php?
What is ltrim?
I just installed php 5.3.1 in my linux server and now my old work which i used to write with tags is not working at all.. Please help me out.. How can i resolve this??
How to make horizonatl menu and vertical menu responsive
Is laravel easy to learn?
What is global variable php?
How can we destroy the cookie in php?
what is the best function that can be used to connect to mysql database and in what cases that we can use below functions ? 1. mysql_connect() 2. mysql_pconnect() please give your answer with all pros and cons