proomt

Search

Search posts, papers, and topics

All posts

Freek Van der Herten1 min readintro

What's New in PHP 8.6

Summary

PHP 8.6 adds partial function application, a clamp() helper, a Duration class, and assorted language and stdlib tweaks. The post lists each change without deep analysis.

  • Partial function application lets you pre‑bind arguments to a callable, enabling more composable code.
  • clamp() provides a one‑line way to bound a number between a min and max value.
  • The new Duration class represents time intervals with nanosecond precision and fluent APIs.
  • Several smaller improvements include stricter type checks, enum enhancements, and minor stdlib additions.

PHP developers planning to upgrade should know these features to write cleaner, safer code and avoid surprise regressions.

5/10

Related reading

  1. What's new in PHP 8.6

    This post previews PHP 8.6 features, highlighting partial function application, a new polling API, and readonly property defaults. It also mentions other improvements and deprecations expected in the upcoming release.

    Freek Van der Hertenfreek.dev1 min
  2. Immutability in PHP Beyond readonly

    The article walks through practical ways to achieve immutability in PHP beyond the built‑in readonly keyword, covering interior mutability, immutable value objects, collections, dates, and cloning. It also shows how to enforce and test these patterns in real codebases.

    Freek Van der Hertenfreek.dev1 min
  3. Hostinger weekly product updates: Week 38, 2026

    Hostinger shipped a set of feature updates: longer WhatsApp sessions, voice‑note transcription, scheduled‑job notifications, sandboxed code execution for its AI Agent, a quiz to match agents to use‑cases, checkout‑link creation for ecommerce without a storefront, multi‑mailbox switching in its webmail, and a new Hub home screen inside WordPress admin.

    Hostingerhostinger.com4 min
  4. pgAssistant 3.8.0 : continuous improvement loop for Postgres

    pgAssistant 3.8.0 expands from a tuning advisor to a continuous PostgreSQL improvement platform, adding a Collector that records historical workload and environment data. It lets teams run an Observe‑Diagnose‑Prioritize‑Plan‑Implement‑Measure loop, compare consecutive snapshots, and measure the impact of applied recommendations.

    PostgreSQLpostgresql.org1 minrelease