Late Static Binding

Introduction
Why ?
How does it work ?
Examples

Introduction

Introduction

Can be used to reference the called class in the context of static inheritance.

 

PHP.net

Introduced in PHP 5.3.0 (June 2009).

Why ?

Why ?

Compensate for the limitations of "self"

How does it work ?

Examples

Late Static Binding

By Babacooll

Late Static Binding

  • 911