Topic

PHP

Track PHP framework developments, performance improvements, and ecosystem libraries. Our digest aggregates Laravel ecosystem news, Symfony updates, and PHP 8 feature discussions from developer communities.

What this topic tracks

  • Language releases and proposals
  • Libraries, tooling, and ecosystem updates
  • Performance, idioms, and production lessons

PHP · 33 stories

Recent stories

Each story's summary, with the places it was discussed.

Summaries are written by AI from the linked sources. Open the source for full context.

13 stories

How To Learn Go Fast: A Practical Roadmap For Senior Backend Developers

dev.to · 27 Jun

Backend · Go · PHP

This article discusses the transition of a senior PHP developer to Go by leveraging their existing backend expertise.

It contrasts the framework-heavy philosophy of PHP (like Laravel) with Go's emphasis on explicit code, standard library usage, and composition. The author provides a roadmap for learning Go, focusing on practical production patterns like error handling, context management, and CLI development.

PHP's Oddities

flowtwo.io · 19 May

Backend · PHP · Programming Languages

Despite PHP's maturity and versatility, the language features unintuitive quirks that often lead to bugs.

Key issues include the overloaded array structure, which acts as a key-value dictionary rather than an ordinal list, and a clunky, inconsistent type system regarding uninitialized class properties. Despite these challenges, PHP remains an efficient, productive language for web development.

PHP 8.6 Closure Optimizations

wiki.php.net · 14 Apr

Performance · PHP · Programming Languages

The PHP 8.6 RFC proposes two performance optimizations for closures: automatic static inference for closures not using $this to prevent memory reference cycles, and caching for stateless closures.

These changes aim to improve application performance and reduce memory usage, despite minor backward-incompatible changes regarding reflection and object lifecycle behavior.

How Cloudflare WAF helps protect against phpAfterShell and other critical PHP flaws

blog.cloudflare.com · 20 Nov

Backend · Cybersecurity · PHP

Cloudflare WAF now blocks known phpAfterShell (CVE-2026-126714) attack patterns on all plans after updating a PHP remote code execution rule on November 19, 2026.

PHP fixed the critical flaw and 16 others in versions 8.2.36, 8.3.37, 8.4.28, 8.5.13, and 8.6.0. Paid plans also receive default-Log rules for PHP-FPM and SOAP flaws. WAF is defense in depth, not a patch replacement: upgrade PHP, restart workers, review rules, and apply mitigations.

Kiki – a tiny homepage construction kit with a small footprint

tomotama.com · 31 May

Frontend · PHP · Software Architecture

kiki is a lightweight, minimalist homepage building kit designed for simplicity and human readability.

With only 1500 lines of PHP code, it avoids bloated modern dependencies, databases, and tracking. It supports static and dynamic site generation, wiki modes, and responsive themes, prioritizing ease of use for users who prefer simple, hand-coded web development over complex frameworks.

I want my Wednesday back

blog.luitjes.it · 24 Oct

Cybersecurity · PHP

php2shell is critical and should be patched promptly, but mass exploitation is not yet practical.

Its best PoC requires four consecutive requests to the same PHP worker and knowledge of the exact PHP build; targeting varied worker counts, deployments, versions, WAFs, and background traffic could require tens of thousands of slow, DoS-like attempts from many IPs. Claims of in-the-wild exploitation currently refer to attempts, and HoneyLabs has reported no successful exploit attempt so far.

Observations from Running stealmybitcoin.com

pavursec.com · 30 Oct

Cybersecurity · PHP

An internet challenge on stealmybitcoin.com showed PHP2Shell is exploitable remotely, but remains difficult for inexperienced attackers even with AI.

The author hosted a PHP site containing a Bitcoin wallet key; tens of thousands attempted exploitation, generating over 13 million requests and about 2,075 PHP SIGSEGV events. Only two IP addresses triggered print-flag, and one successfully extracted the flag using a configuration-specific exploit. The experiment confirms PHP2Shell should be patched, while current AI-assisted exploitation is not yet reliable for difficult CVEs.

Introducing the Cloudflare PHP Capture the Flag challenge

blog.cloudflare.com · 27 Oct

Cybersecurity · PHP

Cloudflare launched a limited-time PHP Capture the Flag challenge through HackerOne Bug Bounty to test WAF protections against CVE-2026-109618 and CVE-2026-109619.

Participants must bypass the WAF, exploit stock PHP 8.5.11 running with Apache 2 in a Cloudflare Container, and recover /flag; the sandbox resets every few minutes. Eligible bounty submissions require an authorized POST, attacker-controlled PHP code or command execution, successful UI verification, and a reproducible HackerOne report. Testing is restricted to designated endpoints, and WAF protection does not replace patching PHP.

Upcoming Critical PHP Security Release

php.net · 20 Oct

PHP

PHP’s security team announced an upcoming release scheduled for 21 October 2026 at 14:00 UTC, addressing two critical vulnerabilities rated CVSS v4.0 9.2; users should prepare to upgrade immediately, with earlier publication possible if exploitation emerges.

PHP 8.6.0 RC3 is also available for testing, but not production use, while recent security releases update PHP 8.2 through 8.5. Full vulnerability and fix details will accompany the security release.

Show HN: Death Plan Switch, a self-hosted dead man's switch for solo devs

deathplanswitch.com · 20 Oct

PHP

Death Plan Switch is a free, MIT-licensed, self-hosted dead man's switch for solo developers.

Built in PHP 8.1+ without a database, it sends weekly check-in emails, reminders, then contacts next of kin after 72 hours and other designated contacts after 144 hours if no response. Next of kin can stop escalation, and late check-ins trigger false-alarm notices. It requires HTTPS, SMTP, and a 15-minute scheduler; it stores no secrets and depends on email and uptime.

Upcoming Critical PHP Security Release (18 Nov 2026)

php.net · 18 Nov

Backend · Cybersecurity · PHP

PHP has released security updates 8.5.12, 8.4.27, 8.3.36 and 8.2.35, fixing two critical unauthenticated remote-code-execution vulnerabilities, CVE-2026-109618 and CVE-2026-109619.

Windows rebuilds also update Brotli to 1.2.1 for CVE-2026-111497. Users should upgrade immediately; PHP 8.2 reaches end of life on 31 December 2026. PHP 8.6.0 RC7 is available for testing, with its first GA release planned for 19 November 2026, alongside additional critical security releases.

Blunt Banhammer Blocks Basic Bots Ballistically

shkspr.mobi · 9 Nov

Backend · Cybersecurity · PHP

B⁶ reduced bot traffic to OpenBenches.org by using a hidden honeypot link that compliant crawlers should avoid.

The PHP trap records a visitor’s IP in .htaccess, which permanently returns HTTP 402 for that address; robots.txt explicitly disallows the honeypot. After one week, more than 400 IPs were blocked and peak daily transfer fell from 216GB to about 25GB. The blunt approach can block innocent users behind hijacked IPs and may add .htaccess overhead.

Objections to .php application being published on ICANN site

pub.roddie.digital · 26 Nov

PHP

ICANN has received objections to Automattic’s application for the `.php` top-level domain, after it replaced `.vibe`.

Critics argue that PHP is an open-source ecosystem governed by the PHP project and supported by The PHP Foundation, not Automattic, making private control inappropriate. They also warn that `.php` would be confused with PHP file paths, enabling phishing, impersonation, and software-routing failures; one ICANNWiki page already returned a 404 error. Several objectors urge rejection.

Where it came fromLobstersHacker NewsCloudflare BlogDev.toCreate a Snapbyte.dev digest and choose PHP as one of your topics.Build your digest