PHP 8.6 is out, and here’s what changes for your code
PHP 8.6 has been released. The new version adds partial function application, a TimeDuration class, a polling API for event loops and a clamp() function. PHP 8.6 also changes defaults that existing apps could trip over. Sessions now start with session.use_strict_mode and session.cookie_httponly turned on and session.cookie_samesite set to Lax. Custom session handlers that don’t implement both create_sid() and validateId() are deprecated. If your app relied on the old defaults, test your login flows before … More
The post PHP 8.6 is out, and here’s what changes for your code appeared first on Help Net Security.