Contributions
Article
Synaptik CMS is a lightweight, blazing-fast flat-file CMS built in PHP. No database, no setup, create websites in minutes and start publishing.
Free & open source.
Free & open source.
Article
Reporting errors is always very costly: at the PHP level, then at the logging level. Fixing the mundane warnings improve the code way more than it appears, both at performance and bug levels.
Article
A 14 years old tool that you're probably not using, to check for easily confusable strings
Article
#PHP and #rustdev are often teaming to deliver features and assess hard problem.
Here is a factual inventory of every current bridge between them: Zend extensions, FFI, WebAssembly runtimes, PHP-to-Rust conversion, Rust PHP engines, PHP Rust compiler, code generators, etc.
Here is a factual inventory of every current bridge between them: Zend extensions, FFI, WebAssembly runtimes, PHP-to-Rust conversion, Rust PHP engines, PHP Rust compiler, code generators, etc.
Article
A technical review to make a PHP application fit within capped memory, and able to restart running upon interruption.
Article
Everyone knows php -l, which works also with directories. But how do you lint PHP code within the source? Of course, you can shell_exec() PHP itself, but there are better solutions, with token_get_all(), TOKEN_PARSE and ... eval() or include().
Article
Vale is a CI tool that extract comments and apply readability checks on the comments.
Article
Deep dive in a rather surprising error message appearing at linting time, and various possible sources that ultimately end with a simple property add. A tale to remember for the next code migration.
Article
What is a streaming database, and where does it add reliance to a database architecture. With PHP and RisingWave examples.
Article
An adventure in South China Seas with an Apple ][c, a PHP binary and an AI assistant to revive an childhood wonder.
Article
review of 5 PHP preprocessing too, their goals and short comings, and why we should keep building them.
Article
The Clock That Cracks Passwords: how to protect passwords checks against a timing attack on modern PHP code
Article
PHP names things by accretion. A word gets used for something, then reused for something adjacent, then reused again by a project that picked the name because it was available on Packagist. Nobody arbitrates. Ten years later you have a conference hallway conversation where two people agree enthusiastically about “native PHP” and turn out to be discussing entirely different technologies.
Article
A review of the popular PHP versions, components, extensions and tools, as requested from within composer configurations.
Library
An OTA App Distribution System for iOS and Android apps
Article
A look at what applications are actually rewritten to PHP.
Article
The implements keyword, and its cousin, extends, has a guest list that is longer than most of us remember. Interfaces are the only form of multiple inheritance PHP allows, so they end up being the tool we reach for whenever we need to say these unrelated things share a common ground.
Article
*
1 point by exakat 57 minutes ago [flagged] | edit | delete [–]
BlackBox found a vulnerability in PHP — and it's a reminder that property-based testing isn't just about catching logic bugs.
1 point by exakat 57 minutes ago [flagged] | edit | delete [–]
BlackBox found a vulnerability in PHP — and it's a reminder that property-based testing isn't just about catching logic bugs.
Article
There are 1437 of them, and there is the .net, the followers, the tools, the strange one, the squatted ones and the one to be booked
Article
https://www.exakat.io/flock-is-a-suggestion-not-a-law/
Article
When Generators Actually Makes Sense: using yield helps keeping the memory usage low, but sometimes, the memory is already used.
Article
Types and test ensure the code behaves as expected. There is a gray zone between them, which we explore here to get a better understanding of when to use one or the other.
Article
This post reviews 5 syntax in PHP code where types are written, and compares the various differences between them. They looks the same, but carry very different histories.
Article
Panorama view of tools to use AI libraries and models from within PHP
Article
The Empty String in PHP: One Value, Too Many Jobs. It is used as default value, value upon success or error, accumulator and cast operator
Article
The Empty String in PHP: One Value, Too Many Jobs. It is used as default value, value upon success or error, accumulator and cast operator
Article
PHP preallocates variables in memory to speed up execution. This costs even with unused variables.
Article
A PHP OOP puzzle exploring how to call all overridden versions of a method across a three-level class hierarchy (Grandparents, Parents, Children) from the deepest child class. The post walks through why `$this` and `parent::` only get you so far, why closure binding fails, and presents two working solutions: a static call to a named ancestor class (which PHP allows within the same hierarchy) and using `ReflectionMethod::invoke()` to bypass method overriding entirely.
Article
A deep dive into PHP's compact() and extract() functions, covering how they work, their real-world usage patterns across 3000+ open source projects, alternative syntaxes using variable variables and the spread operator, security risks of extract() with uncontrolled input, and practical recommendations for modernizing code that relies on them.
Article
A recursive function is a function that calls itself, in order to solve a problem. This type of function is often used in situations where a problem can be broken down into smaller, similar yet smaller problems. The function keeps calling itself with modified arguments until a base case is reached, at which point the function stops calling itself and starts returning values. So, do we know all the recursive functions in PHP?
Showing the last 30 only...