PHP Generics Today (almost)


Abstract

Ask PHP developers which big feature they wished PHP had and many would say generics. Hopefully one day they'll be implemented at language level but what if we want them now?

This talk starts with a deep delve into generics and the benefits of them. We'll then look at how existing static analysis tools can be configured to (almost) give us generics in PHP now.

This is a talk version of my article PHP Generics today (almost).


See more talks.

Events
PHP-UK Conference Feb 2020

[slides] [website]

PHP Sussex Feb 2020

[slides] [website]

Leeds PHP Jan 2020

[website]