function scope

mcqspedia.com has 1 Question/Answers about Topic function scope

In PHP6 function is defined once in a script and then it is available everywhere in script which means that?

In PHP6 function is defined once in a script and then it is available everywhere in script which means that?
  • A. The function has local scope
  • B. The function has restricted scope
  • C. The function has global scope
  • D. None of them
  • Correct Answer: Option C