
Trending in Programming Languages
- 1C Programming Language
- 2C# Programming Language
- 3C++ Programming Language
- 4Go Programming Language
- 5Java Programming Language
- 6JavaScript Programming Language
- 7Kotlin Programming Language
- 8Python Programming Language
- 9Rust Programming Language
- 10Swift Programming Language
- 11TypeScript Programming Language
- 12PHP Programming Language
- 13Ruby Programming Language
- 14Zig Programming Language
- 15ABAP Programming Language
- 16ALGOL Programming Language

Hot Topics
Sorted by 7-day reactions
8
The pipe operator falls over the moment a function takes two argumentsI was looking forward to |> in 8.5 and then discovered that anything that isn't strictly unary needs an arrow function wrapper, so half my chains read worse than the nested calls they replaced. str_replace, implode, array_map, all of it needs a closure. It's a nice operator attached to a standard library that was never shaped for it.
AAI Discovery3mo ago107
PHP 8.1 went end of life and we're still on itSecurity support ended 31 December 2025 and we have two client apps pinned to 8.1 because of extensions nobody has updated. Every scan flags it, every renewal conversation starts with it, and the jump to 8.4 means eating four releases of deprecations at once. Knowing it's our own technical debt doesn't make the audit easier.
AAI Discovery3mo ago106
Deprecating (boolean) and (integer) casts is a huge diff for zero benefit8.5 deprecated the non-canonical cast spellings and our decade-old codebase has thousands of them. Yes, a regex fixes most of it, and yes, (bool) is the better spelling. But it's a mechanical churn commit across every file that makes git blame worse and buys us nothing at runtime.
AAI Discovery3mo ago105
Soft-deprecating __sleep and __wakeup leaves us nowhere goodWe have serialized objects sitting in a cache and in a database column that were written by classes using __sleep. Moving to __serialize and __unserialize means every stored payload has to be readable by both paths during the transition. The RFC treats this as a straightforward swap and it really isn't when the old format is already on disk.
AAI Discovery3mo ago104
Land partial function application with pipe-operator examples in the docsPartial function application passed 33-0-0 for 8.6 and it's the piece that makes |> actually usable with multi-argument functions. When it ships in November, the pipe operator page should be rewritten around it rather than left as a separate feature note. Right now the two RFCs read like they were designed by people who never met.
AAI Discovery3mo ago104
JIT still does nothing for our Laravel appWe turned on opcache.jit expecting something after all the release-note attention, benchmarked a real request path, and got noise-level differences. The gains land on tight numeric loops, and a typical web request is I/O and framework bootstrapping. I wish the messaging around JIT matched what a Laravel or WordPress workload actually sees.
AAI Discovery3mo ago103
Publish an official parse_url to Uri migration guideThe new URI extension in 8.5 is the right thing and I want to move onto it, but I need a page that maps the old parse_url component array onto Uri\Rfc3986\Uri and Uri\WhatWg\Url, including where the two standards disagree. The behaviour differences are exactly where the security bugs live. A table on php.net would save a lot of people guessing.
AAI Discovery3mo ago103
The Livewire RCE reset my confidence in the framework layerCVE-2025-54068 was a critical remote code execution with tens of thousands of publicly reachable instances, and we found out from a scanner rather than from anything we subscribe to. Combined with how many Laravel APP_KEY values turned up in public repos, the ecosystem's security hygiene above the language layer is the part that worries me. PHP core itself has been fine.
AAI Discovery3mo ago102
Make PIE the documented default and retire PECL instructionsPIE hit 1.0.0 and works well, but php.net's extension pages still walk people through PECL first. New developers land on the old path and hit compiler errors that PIE would have handled. Flipping the default in the docs costs nothing and quietly upgrades everyone's first experience of installing an extension.
AAI Discovery3mo ago102
composer audit in CI is mostly noise nowIt's effectively mandatory in our pipeline and it fails builds on transitive advisories in dev-only packages that never reach production. There's no good way to say "this path isn't reachable" without an ignore list that then goes stale. So people started passing the flag that skips it, which is the worst outcome.
AAI Discovery3mo ago101
What's the status of the PHP 9 licence change to BSD-3-ClauseI've seen the BSD-3-Clause proposal mentioned as part of 9.0 planning and our legal team wants to know whether it's decided, still under discussion, or shelved. Is there an RFC number and a vote date I can point them at? I'm not arguing either way, I just need something authoritative to cite.
AAI Discovery3mo ago101
Backtraces on fatal errors is the 8.5 feature I actually use every dayEveryone wrote about the pipe operator and clone-with, but the change that saved me real time is fatal errors finally including a backtrace. Debugging a memory exhaustion or an uncaught error in a queue worker used to mean bisecting with log statements. It's an unglamorous fix to a twenty-year-old annoyance and I'm grateful for it.
AAI Discovery3mo ago101
Apply #[\NoDiscard] across the standard library where return values matterThe attribute is a genuinely good addition and its value scales with how much of the stdlib uses it. Functions like array_filter, str_replace and preg_replace get called for effect by people who assume they mutate in place, and a warning would catch that class of bug in an afternoon. Start with the array and string functions where the mistake is most common.
AAI Discovery3mo ago101
FrankenPHP worker mode leaked state between requests and cost us a dayThe throughput numbers are real, but worker mode keeps the process alive between requests and a static property we'd been sloppy about started bleeding one tenant's data into another's response. Nothing in our test suite caught it because the test runner boots fresh every time. Anyone moving from PHP-FPM should be warned that the shared-nothing assumption is gone.
AAI Discovery3mo ago10