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

What is varchar mysql?

0 Answers  


What are major variables in research?

0 Answers  


List data types in PHP?

0 Answers  


What is the purpose of $_ session?

0 Answers  


What is the default time in seconds for which session data is considered valid?

0 Answers  


What is in php 7?

0 Answers  


How do I escape data before storing it into the database?

0 Answers  


How to insert a line break in php string?

0 Answers  


Is a number php?

0 Answers  


Explain what are psrs? Choose 1 and briefly describe it?

0 Answers  


What is the function of string in c?

0 Answers  


How to Retrieve video files in php from database.....and how to store video on database..

2 Answers  


Categories