Which of the following is not a variable scope in php?
A) Local scope
B) Global scope
C) Class scope
D) Function scope
Answer:
C) Class scope
Explanation:
In PHP, there are local, global, and function scopes, but there is no “class scope” for variables. Variables declared within a class are typically referred to as class properties or class member variables, and they have a different scope than local or global variables.