PHP 8.6 Closure Optimizations: static Inference and Caching
In PHP 8.6, closures drop the $this they never used, and two stateless closures from the same line are now the same object, so === returns true.
Eric L. Barnes
PHP News is the daily source for developers building with PHP — a PHP blog covering practical tutorials, release notes, package discoveries, and the community reporting that helps you ship better applications.
In PHP 8.6, closures drop the $this they never used, and two stateless closures from the same line are now the same object, so === returns true.
Eric L. Barnes
PHP 8.5.8 patches a memory corruption CVE in openssl_encrypt with AES-WRAP-PAD, restores SoapServer::handle() without raw input, and fixes three Opcache bugs.
Eric L. Barnes
Every post lands in one of these, so start wherever your work does.