International PHP Conference |
October 21 - 25, 2019 in Munich

PHP, or type-safety – pick any two

Session
Till August 15: ✓ PS Classic Mini or Arduino Starter Kit for free ✓ Group discount ✓ Save up to 540 € Register now

PHP doesn’t have a great reputation in the wider programming community. One reason: it’s really easy to write code with type errors, and it’s pretty hard to spot them manually.

When writing PHP at Vimeo, avoiding mistakes is fairly important. For the last four years I’ve worked on a static analysis tool called Psalm that’s designed to allow PHP developers to express the same sorts of type concepts that are found in TypeScript et al, with fast and accurate type inference that finds bugs.

Every time it runs, Psalm informs users about type coverage (the % of expressions with inferrable types). This talk will discuss why we prioritised improving type coverage across our codebase, and how we’ve increased it with both automated tooling and manual updates.

This talk will also outline Psalm’s type inference algorithm, and discuss the myriad benefits of a nearly-type-safe codebase from a maintenance and refactoring perspective.

Stay tuned!

Behind the Tracks of IPC

PHP Development
Best Practices & Application

Web Development
Web Development & more

JavaScript Development
All about JavaScript

Agile & Culture
Agility has become mainstream

Architecture
Concepts & Environments

Web Security
All about Web Security

Testing & Quality
An overview of the most important topics

DevOps
DevOps is a philosophy