Q:

Which one of the following is the right way of defining a function in PHP?

belongs to collection: ARRAYS AND FUNCTIONS IN PHP MCQ

0

Which one of the following is the right way of defining a function in PHP?


  1. function { function body }
  2. data type functionName(parameters) { function body }
  3. functionName(parameters) { function body }
  4. function fumctionName(parameters) { function body }

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (d).function fumctionName(parameters) { function body }

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

ARRAYS AND FUNCTIONS IN PHP MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Type Hinting was introduced in which version of PH... >>
<< Three ways to create an array is Direct assignment...