Question
a.
The function has local scope
b.
The function has restricted scope
c.
The function has global scope
d.
None of them
Posted under PHP
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. In PHP6 function is defined once in a script and then it is available everywhere in script which means that?
Similar Questions
Discover Related MCQs
Q. Try ( ) and catch ( ) functions are used for
View solution
Q. By default scope of variable which is defined inside a function is?
View solution
Q. PHP loos up function by its
View solution
Q. For using multiple possible branches based on a single value which branching style do you prefer?
View solution
Q. Global $count; this statement indicates what?
View solution
Q. Two broad types of control structures is branching and
View solution
Q. Two main structures of branching are
View solution
Q. Which of following operations are supported by PHP?
View solution
Q. Loops that iterate for fixed number of times is called
View solution
Q. Which loop evaluates condition expression as Boolean, if it is true, it executes statements and when it is false it will terminate?
View solution
Q. Basic syntax for calling a function is
View solution
Suggested Topics
Are you eager to expand your knowledge beyond PHP? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!