Home / Programming MCQs / PHP MCQs / Question

R

Ram Sharma • 188.81K Points
Coach

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;

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.