Q. There are two variables a, b which declared in global scope, which is the correct PHP statement to access them within a function?

  • (A) global $a, $b;
  • (B) global $a $b;
  • (C) global ($a, $b);
  • (D) php_global $a, $b;
πŸ’¬ Discuss
βœ… Correct Answer: (A) global $a, $b;

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
107851
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
91%
Success Rate