Intermediate
PHP
Q43 / 100
What is PHP's late static binding?
Correct! Well done.
Incorrect.
The correct answer is B) static:: refers to the class on which a static method was actually called, not the class where it was defined
B
Correct Answer
static:: refers to the class on which a static method was actually called, not the class where it was defined
Explanation
self:: refers to the defining class. static:: refers to the called class (late binding), enabling proper polymorphism in static methods.
Progress
43/100