My latest articles
PHP in a nutshell: Classes, inheritance and interfaces
Part seven of the PHP course. Classes and constructor property promotion, visibility, typed and readonly properties, static properties and methods, late static binding, inheritance, abstract classes, interfaces, traits and anonymous classes.
PHP in a nutshell: Dates and time
Part six of the PHP course. Time zones, format characters, DateTime versus DateTimeImmutable, createFromFormat pitfalls, DateInterval and DatePeriod, and the rule of storing time in UTC.
PHP in a nutshell: Functions and closures
Part five of the PHP course. Function declarations and types, named and variadic arguments, no implicit outer scope, static variables, closures with use, arrow functions, callables and the f(...) syntax.