Skip to content
Advertisement

Tag: late-static-binding

What exactly are late static bindings in PHP?

What exactly are late static bindings in PHP? Answer You definitely need to read Late Static Bindings in the PHP manual. However, I’ll try to give you a quick summary. Basically, it boils down to the fact that the self keyword does not follow the same rules of inheritance. self always resolves to the class in which it is used.

Advertisement