πŸ“Š PHP
Q. What does the 'global' keyword do in a function?
  • (A) Access global variables
  • (B) Declare global constants
  • (C) Reset variables
  • (D) Stop function execution
πŸ’¬ Discuss
βœ… Correct Answer: (A) Access global variables

Explanation: The 'global' keyword allows a function to access variables declared outside its scope.

Explanation by: Rati Dubey
The 'global' keyword allows a function to access variables declared outside its scope.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
65
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
89%
Success Rate