Debugging Our Way Through PHP
summary
Live demos use Docker, VS Code and PhpStorm with Xdebug 3.2 (alpha) to inspect PHP 7→8 changes: union types, constructor property promotion, readonly and enums, named arguments, and the new return value pseudo-variable that shows function returns. Shows common Docker/path‑mapping and permissions pitfalls and how PHP vs container paths break breakpoints until mappings are set. Demonstrates fibers as fibers cooperative multitasking, the static‑variable fix for inheritance, and the sensitive‑parameter attribute hiding secrets in stack traces; all demos run and reproduce the behaviors described.
AI-written summary · about
