PHP 8.5 features I tried: pipes, clone with and real URI parsing
PHP 8.5 is one year old. I finally ran the pipe operator, clone with, #[NoDiscard], array_first() and the new URI extension in a container, and here is what I’d use.
PHP 8.5 is one year old. I finally ran the pipe operator, clone with, #[NoDiscard], array_first() and the new URI extension in a container, and here is what I’d use.
Property hooks and public private(set) remove a lot of getter and setter code in PHP 8.4. Where I use them in TYPO3 extensions, and why Extbase models keep classic accessors.
php -l said the old blog theme was fine. PHP 8 disagreed. What php -l, PHPStan and PHPCompatibility really report for legacy themes and extensions, measured on the real file.
Two critical bugs in the PHP interpreter allow code execution without login. What PHP2Shell is, and five shell scripts to check versions, settings and logs.
Enums for TCA select values, readonly classes for events, constructor promotion with DI, first-class callables, typed constants and #[Override] in TYPO3 extensions.