PHP·98 questions

What is late static binding?

Answer
static:: instead of self::.
Uses the calling class, not the definition.
Important in inheritance.
get_called_class().
For factory methods.
Was this answer helpful?

More questions in this topic

Related questions from other topics