defining php functions

mcqspedia.com has 2 Question/Answers about Topic defining php functions

PHP loos up function by its

PHP loos up function by its
  • A. Name
  • B. Structure
  • C. Parameters
  • D. All of them
  • Correct Answer: Option A

A way of wrapping up a chunk of code and giving that chunk a name so that we can use it later in just one line of code is called as

A way of wrapping up a chunk of code and giving that chunk a name so that we can use it later in just one line of code is called as
  • A. Class
  • B. Constructor
  • C. Function
  • D. Branching
  • Correct Answer: Option C