Vale Reviews Your Comments In The Code

Vale Reviews Your Comments In The Code

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 […]

Recently updated PIE extensions #7 (since September 10th, 2026)

PHP Pie updates #6

Recently updated PIE extensions #7 (since September 10th, 2026) 28 PHP Pie extensions were updated. flow-php/arrow-ext (0.44.1): Apache Arrow PHP extension powered by Rust phpolygon/php-vio (2.25.4): PHP extension for GPU rendering (OpenGL, Vulkan, Metal), audio, video recording, streaming, and input flow-php/flow-php-ext (0.44.1): Flow PHP native extension (Rust) – Floe frame-body encoder/decoder for DataFrame Rows xberg-io/tree-sitter-language-pack […]

What do you mean, redeclare a property static?

What do you mean, redeclare a property static?

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

Tracing a PHP CLI application with filo

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 Property Resolution Order: Class · Trait · Parent · Interface

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

RisingWave, PHP, and the Streaming Database Idea

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

When PHP Reads Something Else: Visual Traps in Source Code

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

PHP Pie updates #6

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

PHP-Powered Government Websites by Country

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 […]

13 Modern PHP Tips & Tricks from 2015

13 Modern PHP Tips & Tricks from 2015

13 Modern PHP Tips & Tricks from 2015 PHP has undergone a massive transformation over the last decade. If you’re still writing PHP like it’s 2015, you’re missing out on massive performance gains, cleaner syntax, and better security. I ran into a nice blog post 13 PHP Tips That Make Development Faster from Linet M. […]