Explain about Functions in PHP?



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

Post New Answer

More PHP Interview Questions

Is php harder than javascript?

0 Answers  


Does php need apache?

0 Answers  


Explain some of the php string functions?

0 Answers  


How cookies are trported from browsers to servers?

0 Answers  


What is multidimensional array in php?

0 Answers  


What is php oop?

0 Answers  


What is PHP's configuration file called?

0 Answers  


Tell me how is it possible to know the number of rows returned in result set?

0 Answers  


How does php session work?

0 Answers  


What's the diff. between include() and Include_once().

5 Answers   Intrack,


how to register website in internet

2 Answers  


What types of loops exist in php?

0 Answers  


Categories