Stories

  1. Image: Phoronix

    PHP 8.6 released with partial function application, Duration class, polling API and clamp()

    The PHP project released PHP 8.6.0, a major update to the language, on the same day as security releases PHP 8.2.36, 8.3.37, 8.4.28 and 8.5.13. New features include partial function application, a \Time\Duration class, a polling API for event loops, a clamp() function, a SortDirection enum, JSON error locations and readonly property defaults. Sessions now start with strict mode and HttpOnly cookies enabled and SameSite set to Lax, and custom session handlers lacking create_sid() and validateId() are deprecated.

Topics

Publishers