Debugging Our Way Through PHP

About the workshop

In this presentation, we are going to have a look at the journey that PHP has made with the PHP 7 and PHP 8 releases, by using the latest Xdebug to see what actually goes on.

We're literally going to debug our way out of PHP's new features!

Join me to have a look at how the type system is strengthened with Enumerations and "never", Fibers, a new closure syntax, the First Class Callable Syntax, intersection types, and other new smaller features, as well as a preview of what PHP 8.2 and Xdebug 3.2 and 3.3 are going to bring.

Requirements

In order to participate in this workshop, it is necessary to come with following working environment:

  • some knowledge of object-oriented PHP programming
  • a computer where you have network and root access (we don't envision using it, but it will be necessary, should we get stuck)
  • the ability to run docker containers and mount volumes when doing so, as well as having docker compose installed
  • either PhpStorm or VS Code with the PHP Debug adaptor installed
  • a GIT check out of https://github.com/derickr/workshop-webcamp22

To test whether docker compose works, checkout the mentioned GIT repository, and within, run: "docker compose build" — that will also download a base image, which would otherwise take very long during the workshop

Derick Rethans

PHP Extensions, PHP Debugging, and MongoDB consultant

PHP internals expert and author of Xdebug. He works as an independent contractor and consultant on PHP extensions and related projects. Returning to Web Summer Camp for 2nd time Derick will deliver a workshop combining debugging practices and most recent PHP8 features.