About ElephantPHP

Most PHP writing stops at the API surface. It tells you which function to call and what it returns, then stops exactly where the interesting part starts: what the engine does with that call, what the abstraction over it costs, and how the whole arrangement behaves under production load. This site is written for that layer — understanding PHP below the abstraction.

What gets published here

Posts fall into five areas. Internals covers the engine: compilation, the Zend VM, memory layout, and the data structures behind the values you pass around. Performance covers measurement — profiling, benchmark method, and optimization that arrives with a number attached rather than an adjective. Architecture covers how an application is put together: boundaries, dependency injection, layering, and what a framework’s design decisions cost you three years later. Runtime covers production behavior: PHP-FPM pools, worker processes, long-running runtimes, and where memory goes over a day of traffic. Ecosystem covers the tooling and the standards around the language: Composer, static analysis, and the PSRs.

Mechanism first, advice second

The site follows one rule: explain the mechanism, then give the advice. Advice that arrives before the mechanism is a rule you have to trust, while advice that arrives after it is a conclusion you can check, disagree with, and apply to a case the article never mentioned.

Two commitments you can hold this site to

Every performance claim carries a number and the method that produced it, or it says plainly that the thing was not measured. “Faster” without a figure is an opinion, and a benchmark that does not state its method is an opinion with digits, so a benchmark here names its PHP version, its configuration, its iteration count, and what varied between runs.

Nothing published here is paid for. No sponsored posts, no affiliate links, no vendor writing about its own product under a byline. When a tool is recommended, the reason is in the article and the reason is the only reason.

The author

Alden Pike writes about PHP, backend engineering, and the systems behind modern PHP applications. His work focuses on understanding what happens beneath frameworks and abstractions, from language internals and performance to architecture and production behavior. He prefers measurements over assumptions and trade-offs over universal rules. He writes at ElephantPHP.

Contact and corrections

Write to contact@elephantphp.com. Corrections are welcome and are the fastest way to make a post better: if a claim about the engine is wrong, a benchmark does not reproduce on your machine, or a version detail has changed since publication, say what you observed and the post gets fixed. A post corrected after publication carries an updatedDate, so a revised article is distinguishable from an untouched one.

Arrow keys to move, Enter to open.