Whhat is a Functions



Whhat is a Functions..

Answer / nagaraju.ch

A function is a block of statement, A function will not execute immediately when we run, we have to call the function to execute
example

<?php
function name(){          // for creating a function

     echo "My name is -----";   

}

name();                   // calling the function

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More PHP Interview Questions

What is array filter in php?

0 Answers  


What is slim framework?

0 Answers  


Why die is used in php?

0 Answers  


How can you insert javascript in php code?

13 Answers   TCS,


Where is the submitted form data stored?

0 Answers  






What is inheritance in php with example?

0 Answers  


Tell me what are the correct and the most two common way to start and finish a php block of code?

0 Answers  


What is the use of friend function in php?

0 Answers  


What advance thing in php7?

0 Answers  


How to call php function in jquery?

0 Answers  


How do you compare strings in java?

0 Answers  


How many types of arrays are there in php?

0 Answers  


Categories