PHPenomenal 8.6: A Challenge to For PHP’s Next Release PHP 8.6 lands on November 19th, 2026, and with it comes a handful of features that have been simmering in RFCs for a while: partial function application, clamp(), a new Time\Durationclass, #[\Override] on constants, writes on const-held objects, readonly properties with defaults, and a SortDirection enum. […]
Lazy class constants in PHP: fast by design, sometimes surprising PHP has class constant, which are named literals. It also supports static constant expressions, where the value is not always a literal. Rather, it’s an expression that PHP doesn’t evaluate immediately. PHP evaluates it the first time the code needs it. This is the concept […]
Vale Reviews Your Comments In The Code Static analysis will tell you a function’s return type is wrong down to the last nullable. It doesn’t tell you that the docblock two lines above it opens with “This class is responsible for,” restates the method signature it’s sitting on, or, this happened, in a project with […]
What do you mean, redeclare a property static? It started with a single line in a linting run: Fatal error: Cannot redeclare non static DOMElement::$id as static ezcDocumentPropertyContainerDomElement::$id So, a piece of code used to have a property, and now, one of the classes is now trying to redeclare this as a static. Obviously, this […]
Tracing a PHP CLI application with filo filo is a zero-extension PHP call tracer. No PECL module, no Xdebug session: it registers a file:// stream wrapper and rewrites your code’s AST on the way in, so every function entry and exit gets timed. Your files on disk are never touched: instrumented copies live in a […]
PHP Property Resolution Order: Class · Trait · Parent · Interface PHP offers the same four places to define a property that it offers for constants: directly in a class, in a trait the class uses, in a parent class it extends, and, as of PHP 8.4, in an interface it implements. Since these different […]
RisingWave, PHP, and the Streaming Database Idea A regular database answers the question you ask it, once, against whatever state happens to be sitting on disk at that moment. If the data changes a second later, your answer is stale until you ask again. This is why dashboards poll, and why “real-time analytics” has historically […]
When PHP Reads Something Else: Visual Traps in Source Code PHP code is read by two very different audiences: human developers and the PHP parser. Humans read glyphs, the shapes our eyes recognise. The parser reads bytes or characters, raw octets encoded in a file. Most of the time these two views agree perfectly. Sometimes […]
Recently updated PIE extensions #6 (since September 3rd, 2026) 33 PHP Pie extensions were updated. intermaterium/duckeh (0.7.3): PHP extension for DuckDB iliaal/mdparser (0.6.1): Native C CommonMark + GitHub Flavored Markdown parser for PHP, targeting CommonMark 0.31 + GFM. ~10-20x faster than pure-PHP parsers, zero runtime dependencies. phpolygon/php-vio (2.11.0): PHP extension for GPU rendering (OpenGL, Vulkan, […]
PHP-Powered Government Websites by Country After reading the Digital Sovereignty Is Written in PHP, I became curious where in the world is PHP used in the governement. Governments may be large or small, and it may have several departements, ministries, cabinets or even local administrations with competing technologies. For this page, I only collected at […]
Generate an image of a stereotypical PHP developer That was a popular toot on Bluesky, by Justin Jackson. I thought it would be interesting to make it again, in 2026, so here we go. ChatGPT in 2024 The original image, below, was produced on ChatGPT. It is a cartoon, […]











