<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <updated>2026-10-16T11:42:48Z</updated>
  <generator>https://njump.me</generator>

  <title>Nostr notes by Exakat (Unofficial)</title>
  <author>
    <name>Exakat (Unofficial)</name>
  </author>
  <link rel="self" type="application/atom+xml" href="https://njump.me/npub1qtd5esmq4dpn8rkdexrf4twafr9au4324kxlc9hkns26r997gkusdrxnys.rss" />
  <link href="https://njump.me/npub1qtd5esmq4dpn8rkdexrf4twafr9au4324kxlc9hkns26r997gkusdrxnys" />
  <id>https://njump.me/npub1qtd5esmq4dpn8rkdexrf4twafr9au4324kxlc9hkns26r997gkusdrxnys</id>
  <icon>https://cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/72x72/26be.png</icon>
  <logo>https://cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/72x72/26be.png</logo>




  <entry>
    <id>https://njump.me/nevent1qqsrv7ftcxn5gwczq2752qxd0y9vj780zp938wu4h0srxfteu6k7r6czyqpdknxrvz45xvuwehycdx4dm4yvhhjk92kcmlqk76wptgv5hezmj65ypcd</id>
    
      <title type="html">Recently updated PIE extensions #14 (since October 29th, 2026) ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsrv7ftcxn5gwczq2752qxd0y9vj780zp938wu4h0srxfteu6k7r6czyqpdknxrvz45xvuwehycdx4dm4yvhhjk92kcmlqk76wptgv5hezmj65ypcd" />
    <content type="html">
      Recently updated PIE extensions #14 (since October 29th, 2026)&lt;br/&gt;&lt;br/&gt;Recently updated PIE extensions #14 (since October 29th, 2026)&lt;br/&gt;25 PHP Pie extensions were updated.&lt;br/&gt;flow-php/arrow-ext (0.47.0): Apache Arrow and Parquet bindings for flow-php/parquet (Rust)&lt;br/&gt;phpolygon/php-vio (2.40.3): PHP extension for GPU rendering (OpenGL, Vulkan, Metal), audio, video recording, streaming, and input&lt;br/&gt;mongodb/mongodb-extension (2.5.6): MongoDB driver extension&lt;br/&gt;flow-php/flow-php-ext (0.47.0): Flow PHP native extension (Rust) – native column backend, CSV/JSON readers, Parquet ETL through arrow-ext&lt;br/&gt;xberg-io/tree-sitter-language-pack (v1.23.0): Pre-compiled tree-sitter grammars for 372 programming languages&lt;br/&gt;xberg-io/liter-llm (v2.5.0): Universal LLM API client with Rust-powered polyglot bindings.&lt;br/&gt;xberg-io/html-to-markdown (v3.20.0): High-performance HTML to Markdown converter&lt;br/&gt;thomas-0816/pdo-duckdb-php (2.0.0.0-beta4): PHP PDO Driver for DuckDB, modern analytics&lt;br/&gt;grpc/grpc-php-ext (v1.85.1): gRPC PHP Extension&lt;br/&gt;iliaal/phpser (0.10.3): Fast binary serializer for PHP cache workloads. Decoder-optimized, beats igbinary on packed numerics, deep-nested structures, and same-class DTO batches.&lt;br/&gt;phpstan/turbo (2.3.5): Native acceleration extension for PHPStan&lt;br/&gt;satwareag/pdo-fbird (v13.3.1): PDO driver for Firebird SQL (pdo_fbird) — separate from the main php-firebird extension&lt;br/&gt;satwareag/php-firebird (v13.3.1): PHP Firebird database extension — native fbird_* API for PHP 8.2&#43;&lt;br/&gt;cachewerk/ext-relay (v0.61.0): The fastest Redis client for PHP. 100× faster cache reads, near-zero bandwidth, no code changes required.&lt;br/&gt;orieg/expanse-extension (v0.17.0): Native PHP Zend Engine extension for Expanse: modern Judy arrays in pure Rust (ext-php-rs). Userland API: orieg/expanse.&lt;br/&gt;corvus-dotnet/corvus-json-schema (0.2.1): A high-performance JSON Schema evaluator (draft 4, 6, 7, 2019-09 and 2020-12) as a PHP extension, backed by Rust.&lt;br/&gt;martinjuul/duckdb (2.0.0): Native DuckDB driver for PHP (C extension). Synchronous, streaming and asynchronous queries, prepared statements, transactions, bulk appender, typed errors.&lt;br/&gt;phasync/ext-phasync (2.0.7): PHP extension that makes blocking I/O (PDO, mysqli, curl, streams, sleep) wait cooperatively in fibers an event loop manages (phasync\ext\Suspension), and per-coroutine requests (sapi()).&lt;br/&gt;fiber-interop/ext-scope (v0.6.0): The Scope class from the PHP RFC “Scope”, as a PHP extension (PHP 8.2&#43;).&lt;br/&gt;pvmlibs/flexid_utils (1.1.0): Tools for encoding, encrypting and signing numbers&lt;br/&gt;vanta/meminfo (0.2.0): PHP extension that dumps the content of PHP memory as JSON, to hunt down memory leaks&lt;br/&gt;mindee/bernard-ledit (v0.1.0): PDF and image processing for the Mindee PHP SDK, as a native PHP extension.&lt;br/&gt;phpstats/phpolars (v0.2.2): Polars data frames for PHP, as a native Rust extension&lt;br/&gt;phpstats/phit (v0.6.2): Native Rust statistical modeling for PHP: regression, likelihood, and mixed models&lt;br/&gt;caronc/dateblock (v2.1.0): Block (sleep) until a cron-style moment in time&lt;br/&gt;The post Recently updated PIE extensions #14 (since October 29th, 2026) appeared first on Exakat.&lt;br/&gt;&lt;br/&gt;&lt;a href=&#34;https://www.exakat.io/recently-updated-pie-extensions-14-since-october-29th-2026/&#34;&gt;https://www.exakat.io/recently-updated-pie-extensions-14-since-october-29th-2026/&lt;/a&gt;&lt;br/&gt; &lt;img src=&#34;https://www.exakat.io/wp-content/uploads/2026/10/php-pie.640-300x300.png&#34;&gt; &lt;br/&gt;&lt;br/&gt;#rss #feeds #linksharing #qwibbit
    </content>
    <updated>2026-11-05T22:13:14Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqspclmw64vmcuc4v7gj54xl0lyhpql7w0ezf8wylf0p0d22nj8ywzqzyqpdknxrvz45xvuwehycdx4dm4yvhhjk92kcmlqk76wptgv5hezmjd7necy</id>
    
      <title type="html">Eight PHP Myths That Need to Finally Retire Eight PHP Myths That ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqspclmw64vmcuc4v7gj54xl0lyhpql7w0ezf8wylf0p0d22nj8ywzqzyqpdknxrvz45xvuwehycdx4dm4yvhhjk92kcmlqk76wptgv5hezmjd7necy" />
    <content type="html">
      Eight PHP Myths That Need to Finally Retire&lt;br/&gt;&lt;br/&gt;Eight PHP Myths That Need to Finally Retire&lt;br/&gt;Eight PHP Myths That Need to Finally Retire&lt;br/&gt;PHP left bad memories with a slice of its audience, 20 years ago. Indeed, some of it was earned. The language genuinely did ship some bad ideas in the ancient PHP 4 and early PHP 5 era, and recent memory-safety CVEs in the Zend Engine are a serious, ongoing concern worth patching today. None of that is in dispute, and neither should significant modernization be ignored.&lt;br/&gt;A lot of what gets repeated about PHP in 2026 is just fossilized experience. Like mammoths, these claims teach us a lot about the past, and they belong in a museum. Some claims were true in 2008 and have been false for a decade, almost two. Other claims sound technical but are not. Still, they get repeated because they are fossilized and do not evolve anymore. Meanwhile, PHP cleaned its room, tidied its syntax, and got better with age.&lt;br/&gt;This article attempts to straighten out eight of the stubborn ones. Its goal is to stop the same dead arguments from being used as if they are current. They are relics of the past.&lt;br/&gt;Myth 1: “PHP is interpreted, so it’s slow”&lt;br/&gt;This one is at least twelve years out of date.&lt;br/&gt;PHP has shipped OPcache as a bundled default since PHP 5.5, released in 2013. OPcache is an opcode cache that eliminates the parse-and-compile step on every request. The PHP source you write is compiled to Zend opcodes once, cached in shared memory, and executed from there on subsequent requests. The first request is slow, and the second one is much faster.&lt;br/&gt;Since PHP 8.0, released in November 2020, PHP also ships a JIT compiler. The JIT is configured through the opcache.jit family of ini settings, and it further compiles hot paths to native machine code at runtime. It is not AOT in the Rust/Go sense, but it is also emphatically not interpreted line by line on every request. Give it heavy loads of math and string work, and it gets noticeably more athletic.&lt;br/&gt;The “PHP is interpreted” framing was reasonable in 2010, before opcode caching became the norm. In 2026, it is a category error. PHP is a managed runtime that compiles to opcodes and can use a JIT. It is usually still slower than Rust on raw CPU-bound benchmarks, but the gap has long moved away from what the “interpreted” label implies. For I/O-bound web work, the difference is dominated by network and database latency anyway. The “interpreted” label is a bit like a 2010 phone: still in the drawer, and nobody has used it in years.&lt;br/&gt;Myth 2: “PHP is still dragging around all those awkward features from the PHP 4 era”&lt;br/&gt;I have a whole book of arcane PHP features inherited from this era, and I now have a hard time finding new ones, since they get mercilessly removed from the code. I really wonder if there is a relationship between these two facts. Either way, this is the myth that ages the worst. If you actually list the cited awkward features, almost all of them have been gone for years, almost decades. The list shrinks faster than a sweater in a hot wash.&lt;br/&gt;Consider the usual suspects:&lt;br/&gt;register_globals was removed in PHP 5.4, which shipped in March 2012. It had been off by default since PHP 4.2.0, released in 2002.&lt;br/&gt;magic_quotes_gpc was removed in PHP 5.4, which shipped in March 2012.&lt;br/&gt;Call-time pass-by-reference was deprecated in PHP 5.3 and removed in PHP 5.4, which shipped in March 2012.&lt;br/&gt;preg_replace with the /e modifier, often called the “hidden eval()“, was deprecated in PHP 5.5 and removed in PHP 7.0, which shipped in December 2015. Developers replaced it with preg_replace_callback.&lt;br/&gt;ASP tags &amp;lt;% %&amp;gt; and &amp;lt;script language=&amp;#34;php&amp;#34;&amp;gt; were removed in PHP 7.0, which shipped in December 2015, through the “Remove alternative PHP tags” RFC.&lt;br/&gt;Dynamic properties on objects were deprecated in PHP 8.2, released in December 2022, and they will cause a fatal error in PHP 9.0.&lt;br/&gt;String increment, where &amp;#39;AZ&amp;#39;&#43;&#43; produces &amp;#39;BA&amp;#39;, was deprecated in PHP 8.3, released in November 2023, through the “Path to Saner Increment/Decrement Operators” RFC. This one was a beloved PHP easter egg that people used to share while grinning. I did. I guess we are becoming more mature.&lt;br/&gt;That is the entire usual list. Every single one of them is either removed or formally deprecated. The most recent two, dynamic properties and string increment, remain in their deprecation window, but they are on a clear, scheduled path out. Beware PHP 9!&lt;br/&gt;When someone lists those features as evidence of PHP’s current dysfunction, what they are really showing is that they have not caught up with PHP since about 2015. The critique is historically accurate, and the framing as a present-tense problem is not valid anymore.&lt;br/&gt;Myth 3: “PHP’s memory bugs come from being weakly typed”&lt;br/&gt;This one is not just wrong. It goes well beyond PHP, and it is a category error.&lt;br/&gt;Weak typing and C-level memory unsafety are independent properties. They have nothing to do with each other. JavaScript is weakly typed, and in some respects it is looser than PHP, since [] &#43; {} evaluates without error. JavaScript considers this a reasonable Tuesday. Yet JavaScript does not expose the same class of memory-safety bugs at the language level, because V8 is a virtual machine that never hands raw pointers to user code. Conversely, C is statically typed, and it is the single most memory-unsafe mainstream language in existence.&lt;br/&gt;PHP’s memory issues, the kind that recent CVEs exploit, come from the C implementation of the Zend Engine. They do not come from == versus ===. The fix is to rewrite the runtime in a memory-safe language such as Rust or Go, not to make PHP strongly typed. Those are different conversations.&lt;br/&gt;This conflation matters because it misdirects the diagnosis. If you think weak typing causes memory bugs, you will waste time arguing about type systems. If you correctly identify the C runtime as the source, you can have the actually useful conversation about whether the engine itself should be ported.&lt;br/&gt;Myth 4: “PHP’s runtime is unmanaged, and that’s a PHP-specific problem”&lt;br/&gt;No, this is both true and not unique to PHP. It is a property of every VM-based language, and every VM language keeps its C runtime in the basement, where nobody invites guests. It is easy to see the same feature in action in other VM languages.&lt;br/&gt;Every widely used VM language has one or more runtimes written in C or C&#43;&#43;:&lt;br/&gt;The JVM relies on OpenJDK, which is largely C&#43;&#43;.&lt;br/&gt;The V8 engine, which powers Node.js, Deno, and Bun, is written in C&#43;&#43;.&lt;br/&gt;CPython is written in C.&lt;br/&gt;MRI Ruby is written in C.&lt;br/&gt;The Zend Engine that powers PHP is written in C.&lt;br/&gt;And every one of those runtimes has shipped memory-safety CVEs over the years. V8 has had critical remote code execution bugs, the JVM has had its share, and CPython and MRI Ruby have had them too. PHP is not unique here. It is a member of a category, and the category has a known property: the safety guarantees apply to user code, not to the runtime itself.&lt;br/&gt;This does not make PHP’s runtime vulnerabilities side concerns. It does mean that framing “managed language, unmanaged runtime” as a PHP indictment is misleading. The same sentence describes Java, JavaScript, Python, and Ruby. If your critique applies equally to four of the most popular languages in the world, it is not really a critique of one of them.&lt;br/&gt;Myth 5: “PHP is stuck in the LAMP era, and nobody does serverless or microservices in PHP”&lt;br/&gt;This one is simply contradicted by several production-grade serverless and event-driven PHP stacks. The following list is short and non-exhaustive:&lt;br/&gt;Laravel Vapor runs serverless PHP on AWS Lambda and is officially maintained by Laravel.&lt;br/&gt;Bref runs PHP on AWS Lambda and predates Vapor.&lt;br/&gt;FrankenPHP is a Caddy-based PHP application server that runs PHP as a long-lived process, with built-in metrics and Mercure support.&lt;br/&gt;RoadRunner is a high-performance PHP application server written in Go and widely used in production. Cycle ORM is designed to work with it.&lt;br/&gt;Swoole and OpenSwoole provide async, coroutine-based PHP, with HTTP, WebSocket, and coroutine-aware database drivers.&lt;br/&gt;Laravel Octane runs long-lived PHP workers through Swoole, RoadRunner, or FrankenPHP, which dramatically increases throughput per instance.&lt;br/&gt;Symfony Runtime decouples the application from the runtime and supports worker modes and custom application servers.&lt;br/&gt;The “ye olde LAMP” stereotype describes a deployment pattern that is still common. It is not the only one, and it has not been for years. Modern PHP can run as a long-lived process, in an event loop, on Lambda, behind a Go-based application server, or as a classic PHP-FPM pool. The choice exists, and it is sometimes difficult to make, which is a first-world problem for a language that was supposed to be dead.&lt;br/&gt;Myth 6: “Nobody builds new apps in PHP anymore, you only use it because of WordPress”&lt;br/&gt;Again, that claim is empirically false. Major greenfield PHP projects have shipped significant releases in recent years:&lt;br/&gt;Laravel 11, released in March 2024, and Laravel 12, released in February 2025, brought a restructured skeleton and first-class health checks.&lt;br/&gt;Symfony 7, released in November 2023, and the ongoing 7.x line form the foundation under Drupal 11 and many enterprise projects.&lt;br/&gt;Filament 4 forms a rapidly growing TALL-stack admin panel and application framework, and it enjoys adoption well beyond the Laravel core community.&lt;br/&gt;Pest 3 forms a modern testing framework built on PHPUnit, and developers actively choose its expression-based syntax over PHPUnit for new projects.&lt;br/&gt;Statamic 5 is a flat-first CMS that is gaining ground as a headless or hybrid option against WordPress.&lt;br/&gt;Craft CMS 5, released in March 2024, is a major release of a CMS that teams actively choose for content-heavy commercial work.&lt;br/&gt;FrankenPHP is a relatively young PHP application server that reached its first stable release in December 2023.&lt;br/&gt;Cycle ORM 2 is a DataMapper ORM designed specifically for daemonized PHP runtimes such as RoadRunner and Swoole.&lt;br/&gt;Recently, PHP has shipped on microcontrollers, in Rust application servers, in online games, and in CLI and TUI applications. It turns up in more places than its critics ever look.&lt;br/&gt;You can absolutely argue that PHP’s greenfield share is shrinking relative to TypeScript, Go, and Rust. That claim is defensible. A shrinking share is partly a matter of arithmetic, since a language that already powers a large share of applications has less room to grow. Arithmetic is not a conspiracy, and it is not an obituary. The statement “no one starts new projects in PHP” is simply not true. The ecosystem above is actively maintained, actively shipped, and actively adopted.&lt;br/&gt;Myth 7: “Writing Rust or Go today is sometimes even faster than writing PHP”&lt;br/&gt;Sometimes it is, yes. As a general statement, it is not.&lt;br/&gt;For systems work, such as daemons, CLI tools, networked services, and embedded software, Go is competitive with PHP on developer speed. Rust has also gotten dramatically better with cargo, clippy, and AI assistance. If the workload is “build a TCP server” or “write a Kubernetes operator,” the comparison favors Go.&lt;br/&gt;For typical web application work, which includes forms, authentication, CRUD, ORM, templates, queues, mail, jobs, caching, sessions, file uploads, pagination, and admin interfaces, PHP remains dramatically faster to develop in than Go. It is also much faster to develop in than Rust. This is not a controversial measurement. It shows up consistently in framework benchmarks, in developer surveys, and in the simple empirical observation that the overwhelming majority of CRUD web apps in production are still written in PHP, even at companies that employ Go and Rust engineers for other parts of their stack.&lt;br/&gt;The claim that AI assistants make Rust as fast to write as PHP is the kind of thing that sounds plausible at a whiteboard and falls apart the moment you try to ship a multi-tenant SaaS and time it. An AI can draft a mail queue in Rust, and then you get to debug it. AI assistance compresses the gap on syntax. It does not compress the gap on ecosystem maturity for the typical CRUD workload. Laravel’s auth, migrations, mail, queues, broadcasting, and Eloquent still have no real Rust equivalent. Asking an AI to write them is not the same as having them already exist and documented.&lt;br/&gt;Myth 8: “PHP has no cost or security advantage over Rust or Go”&lt;br/&gt;The security comparison is debatable and workload-dependent. The cost comparison is not.&lt;br/&gt;On cost, shared PHP hosting remains dramatically cheaper and more widely available than Rust or Go hosting. PHP developer labor is also more abundant and, in most markets, cheaper than Rust or Go developer labor. This is not a marginal difference. The salary gap between a senior PHP engineer and a senior Rust engineer is often substantial, and the talent pool for PHP is meaningfully larger in essentially every major market. For an organization optimizing for cost-to-ship, this is a real, durable advantage that no amount of Rust enthusiasm erases.&lt;br/&gt;On security, PHP has had serious runtime-level CVEs, including recent ones, and the Zend Engine’s C-level memory safety track record is real. These are well documented. The comparison only works when Rust and Go have no equivalent, and they do. Rust’s unsafeblocks have produced their own CVEs, and popular unsafe crates have shipped memory-safety bugs. Go has had its share of standard library vulnerabilities. Both languages also carry supply-chain risk through crates.io and the Go module proxy. The shape of the risk differs, but “Rust has no security disadvantages relative to PHP” is not a defensible statement. It is a marketing line, and marketing lines do not pass code review.&lt;br/&gt;The honest version of this comparison is that PHP has a different security profile than Rust or Go, with a worse memory-safety history in its runtime and better tooling maturity for typical web workloads. That is a real conversation worth having. The phrase “PHP has no security advantage” is a slogan, not an argument.&lt;br/&gt;What’s actually true&lt;br/&gt;None of the above means PHP is perfect. The Zend Engine’s memory safety record is a real problem. WordPress plugin security is a swamp, and the alligators are mostly plugins. Legacy PHP codebases from 2008 are, in the long term, awful to maintain. PHP is not always the fastest language on raw CPU benchmarks: it might never be.&lt;br/&gt;And the eight myths above do not help anyone fix those problems. Myths 1, 2, and 5 are factually outdated. Myths 3 and 4 are conceptually confused. Myths 6, 7, and 8 are empirically false. Repeating them does not make PHP better, and it does not make the critic look informed. It just makes the conversation slower.&lt;br/&gt;If you want to criticize PHP in 2026, criticize it for what it actually is. It is a managed, JIT-compiled, increasingly typed language. It has a real memory-safety problem in its C runtime, an enormous installed base, a thriving modern framework ecosystem, and a long tail of legacy code that nobody enjoys maintaining.&lt;br/&gt;That is a real critique. And, in the end, PHP delivers.&lt;br/&gt;The post Eight PHP Myths That Need to Finally Retire appeared first on Exakat.&lt;br/&gt;&lt;br/&gt;&lt;a href=&#34;https://www.exakat.io/eight-php-myths-that-need-to-finally-retire/&#34;&gt;https://www.exakat.io/eight-php-myths-that-need-to-finally-retire/&lt;/a&gt;&lt;br/&gt; &lt;img src=&#34;https://www.exakat.io/wp-content/uploads/2026/11/minotaur.640-300x300.jpg&#34;&gt; &lt;br/&gt;&lt;br/&gt;#finallyretire #php #phpmyths #eightphp #need #myth #jit #still #zendengine #rust&lt;br/&gt;&lt;br/&gt;#rss #feeds #linksharing #qwibbit
    </content>
    <updated>2026-11-03T18:30:46Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs2njuytwgpkpqf0rsk0thgxnulgfpcyk873gnmwmjemsrzzs8zmcqzyqpdknxrvz45xvuwehycdx4dm4yvhhjk92kcmlqk76wptgv5hezmj5pj6mr</id>
    
      <title type="html">PHP can run DOOM. And in several ways PHP can run DOOM. And in ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs2njuytwgpkpqf0rsk0thgxnulgfpcyk873gnmwmjemsrzzs8zmcqzyqpdknxrvz45xvuwehycdx4dm4yvhhjk92kcmlqk76wptgv5hezmj5pj6mr" />
    <content type="html">
      PHP can run DOOM. And in several ways&lt;br/&gt;&lt;br/&gt;PHP can run DOOM. And in several ways&lt;br/&gt;Can it run DOOM? is the internet’s oldest benchmark. Printers, thermostats, pregnancy tests: if it has a CPU, someone has ported DOOM to it. PHP, the language of personal home page counters and extensive frameworks, is no exception. In fact, DOOM is also the de facto “Hello World” of the PHP gaming scene: nearly every time someone builds a new way for PHP to touch pixels, DOOM arrives within months as proof of concept.&lt;br/&gt;But PHP games are far more than DOOM clones. From a 21,000-line Sonic remake running at 60 fps in your browser, to a classic trading game rebuilt in your terminal, to the massive browser strategy games that once ruled the web, there is a wide ranging panorama of PHP games. Let’s review them, organized by the underlying technology that makes them possible.&lt;br/&gt;And yes, we’ll check at every step: how does DOOM fit here too?&lt;br/&gt;1. php-sdl: Sonic, Running at 60 FPS&lt;br/&gt;The games:&lt;br/&gt;Sonic the Hedgehog (Master System remake): a fan remake of the 1991 classic, ~21,000 lines of pure PHP, running at 60 fps with online multiplayer for up to 6 players (race, flag, rings, deathmatch). Repository · Play it in the browser&lt;br/&gt;sonic-jumphp: the same game ported to the JumPHP runtime (repository). Repository&lt;br/&gt;The same author’s PHP-compiled-to-WASM retro arcade: Rainbow Islands, Moktar, Sapiens, Breakout, Pong (with online play), a 3D runner (write-up).&lt;br/&gt;What makes php-sdl work&lt;br/&gt;php-sdl is a PHP extension for SDL2, the same C library that powers countless native games. PHP was built for request/response: a request comes in, a response goes out, the process dies. SDL2 inverts that: the game holds a native window open, and PHP runs a continuous game loop: Game.php orchestrates the scene, camera, HUD, tilesets, physics and replays. The masterstroke is the second target: PHP 8.3 itself is compiled to WebAssembly with Emscripten, alongside an SDL2 extension, so the exact same PHP code runs in the browser: SDL2 renders to WebGL, sound goes through Web Audio, saves live in IndexedDB. One codebase, desktop and mobile.&lt;br/&gt;Where does DOOM fit? php_doom is Doomgeneric, the deliberately portable DOOM skeleton, ported to 100% PHP source with SDL2. Same library, same rendering model as Sonic. When a new SDL binding for PHP appears, DOOM is rarely far behind.&lt;br/&gt;2. PHP-GLFW / VISU: OpenGL for PHP&lt;br/&gt;The games:&lt;br/&gt;FlappyPHPant: a Flappy Bird-like where you are an elephant with wings flying through pipes.&lt;br/&gt;Mining PHPotentials: a Minecraft-inspired game written in PHP. Repository&lt;br/&gt;The whole catalog lives on the VISU PHP games list.&lt;br/&gt;What makes php-glfw work&lt;br/&gt;PHP-GLFW binds PHP to GLFW and OpenGL, giving PHP a real GPU pipeline: vertex buffers, shaders, textures. On top of it sits VISU, a game framework with scene management, vector math, input handling and a drawing context. Think about it as a tiny game engine, in PHP. The maintainers actively collect example games because, as they put it, example code is the best way to learn a framework. Even in these times of AI.&lt;br/&gt;Where does DOOM fit?&lt;br/&gt;Almost by definition. SerafimArts’ PHP-Doom takes the same idea one level deeper: pure PHP, with built-in extensions only, driving the Vulkan API, with ray tracing. DOOM’s 1993 level geometry lit by a 2020s rendering technique, from PHP. If VISU doesn’t have a DOOM port yet, it’s clearly only a matter of time: and that’s an open invitation.&lt;br/&gt;3. FFI: DOOM, Three Different Ways&lt;br/&gt;The games:&lt;br/&gt;dumm — a DOOM port to PHP using FFI and Raylib. Repository&lt;br/&gt;php_doom — see above; SDL2 through PHP bindings. Repository&lt;br/&gt;elephc/doom: DOOM rendered in PHP and compiled to a native binary by elephc, a PHP-to-native compiler written in Rust (repository). Show HN discussion&lt;br/&gt;What makes FFI work&lt;br/&gt;PHP’s FFI, the Foreign Function Interface, extension lets PHP call C libraries directly, such as Raylib, SDL2, Vulkan, without writing a PHP extension in C. This is the pragmatic middle path: all game logic in PHP, all heavy rendering in battle-tested native code, glued at runtime. The elephc project goes further: instead of calling native code from PHP, it compiles PHP to native code, and renders DOOM E1M1 in real time: BSP traversal, perspective projection, distance fog, sector lighting, collision detection, all written in PHP, running at 15&#43; FPS.&lt;br/&gt;Where does DOOM fit?&lt;br/&gt;This is the DOOM category. FFI is the technology that made PHP runs DOOM true, and every new low-level binding gets validated the same way.&lt;br/&gt;4. Plain Old BBS-Style: The Games PHP Was Born For&lt;br/&gt;The games:&lt;br/&gt;Legend of the Green Dragon (LotGD): the classic text MMORPG, web successor to the BBS legend Legend of the Red Dragon. Repository&lt;br/&gt;BlackNova Traders: space exploration and trading, inspired by the BBS staple TradeWars. Home page&lt;br/&gt;OpenDominion: a persistent browser strategy game. Repository · Wiki&lt;br/&gt;The 2Moons / XG-Project family: open-source engines for building OGame-style strategy worlds (archive list). The 2Moons engine is on GitHub, where it describes itself as an open source browser game framework. The repository is archived. XG-Project has since moved to Laravel: XGProyect.&lt;br/&gt;What makes BBS work:&lt;br/&gt;Nothing but PHP &#43; MySQL, and that’s the point. These are persistent browser-based games (PBBGs): every action is a form submission, every page load is a turn, sessions track the player. PHP’s share-nothing request/response model, though fatal for a platformer, is a perfect match for a game where the world persists in the database between clicks. This genre produced the most popular PHP games ever, back when OGame and its clones commanded hundreds of thousands of players.&lt;br/&gt;Where does DOOM fit?&lt;br/&gt;Well, you won’t believe me: it doesn’t fit in this section. DOOM is real-time first-person action; a request/response turn loop cannot express it. The best you could do is a turn-based DOOM MUD, which would be a different game wearing the license. Every category has its emblematic game because of what the technology cannot do: here, LotGD rules precisely where DOOM can’t follow. Don’t even try it at home!&lt;br/&gt;5. TUI Games: Taipan! in Your Terminal&lt;br/&gt;The games:&lt;br/&gt;Taipan! (2026 PHP rebuild): a faithful rebuild of the classic Apple II trading game, buy low in Hong Kong, sell high, dodge pirates, take on Brother Wu loans at brutal interest. Playable right now: clone the repository and run php bin/taipan. Notably co-built with an AI pair programmer, with the human’s real job shifting from writing code to playing the game to find what felt wrong.&lt;br/&gt;velkuns/game-text-engine: a PHP engine for building text games, with choices, items and more. Repository&lt;br/&gt;What makes TUI work:&lt;br/&gt;Plain PHP CLI, like php bin/taipan, and you’re trading opium in 19th-century China. PHP can use ncurses through an optional PECL extension, and can emit raw ANSI escape codes (colors, cursor positioning), though for games like Taipan the line-by-line terminal output of the original barely needs them. The game loop runs in a long-lived CLI process with fgets(STDIN) for input: again a small heresy for PHP, and again entirely workable.&lt;br/&gt;Where does DOOM fit?&lt;br/&gt;It doesn’t fit. Or, more precisely, not yet: but it could. Raycasting is just math; an ASCII rendering of E1M1 through @, # and . characters driven by ncurses is entirely feasible in PHP. Nobody has done it. If you build it, the panorama gets its final cell filled: so, challenge accepted?&lt;br/&gt;6. JavaScript-Based Games: PHP as the Dungeon Master&lt;br/&gt;The games:&lt;br/&gt;Azimutant (formerly InvaZion): a collaborative strategy game inspired by Hordes.fr/Die2Nite.&lt;br/&gt;Ultimate Warfare: an online multiplayer strategy game, modernized to PHP &#43; Symfony. Repository&lt;br/&gt;La Villa del Seis and Yasmina’s Quest: point-and-click &#43; text adventures entirely in PHP and DHTML. Home pages: La Villa del Seis · Yasmina’s Quest.&lt;br/&gt;What makes it work:&lt;br/&gt;The classic division of labor: all rendering in the browser, with Canvas, WebGL or Three.js; all authority on the server. PHP validates every move, persists the world in MySQL, runs the combat math, and exposes it over AJAX or WebSockets (Workerman is a popular PHP socket server for real-time titles). High scores, anti-cheat, multiplayer matchmaking: that’s PHP’s home turf. The medium article “Building a 2D game in PHP: makes no sense, but it works” captures the spirit: keep the logic server-side where PHP lives, send only player input from the client.&lt;br/&gt;Where does DOOM fit?&lt;br/&gt;It fits in a specific role: PHP parses the WAD, holds the game state and referees multiplayer while JavaScript/WebGL does the drawing. And the WASM route blurs the line entirely, just as Sonic proved. PHP compiled to WebAssembly is the client.&lt;br/&gt;PHP Is The Beast Of The Game&lt;br/&gt;There is one more category where PHP quietly dominates, and where it has nothing to do with rendering: applications that manage games. If you run a Minecraft, Rust, CS:GO or Garry’s Mod server, the ecosystem around you is largely PHP:&lt;br/&gt;Pterodactyl: the free, open-source game server management panel, made with Laravel &#43; Docker, and its fork Pelican.&lt;br/&gt;Azuriom: a complete open-source web solution for game servers, complete with CMS, forums, store, player profiles, and trusted by thousands of servers and millions of players.&lt;br/&gt;H2O Game and various PHP arcade scripts: ready-made platforms to run your own games portal.&lt;br/&gt;This approach feels more familiar: PHP may be an outsider as a game language, but as a game-adjacent language to manage any piece of data, with panels, dashboards, leaderboards, stores, wikis, community sites, it’s the industry standard. DOOM itself would feel at home: even if PHP couldn’t render a single imp, it would happily run the tournament bracket, the server browser, and the mod repository.&lt;br/&gt;PHP player has entered the game&lt;br/&gt;So, can PHP run DOOM? On SDL, OpenGL, Vulkan, FFI and WebAssembly: yes, it already does. In a terminal: not yet, and that sounds like an open PR waiting to happen.&lt;br/&gt;If you build the missing ASCII DOOM in PHP, or any PHP game at all, drop me a note! I want to play it!&lt;br/&gt;The post PHP can run DOOM. And in several ways appeared first on Exakat.&lt;br/&gt;&lt;br/&gt;&lt;a href=&#34;https://www.exakat.io/php-can-run-doom-and-in-several-ways/&#34;&gt;https://www.exakat.io/php-can-run-doom-and-in-several-ways/&lt;/a&gt;&lt;br/&gt; &lt;img src=&#34;https://www.exakat.io/wp-content/uploads/2026/11/toy.640-293x300.jpg&#34;&gt; &lt;br/&gt;&lt;br/&gt;#php #doom #rundoom #sonic #same #severalways #repository #fps #helloworld #web&lt;br/&gt;&lt;br/&gt;#rss #feeds #linksharing #qwibbit
    </content>
    <updated>2026-11-03T09:15:47Z</updated>
  </entry>

</feed>