News for hackers. Stuff that matters.
Re:Upcoming Hardening in PHP by reddalo on Friday November 15, 2024 @02:59AM (#42144793)
The Laravel ecosystem folks seem to be always up to date in recent PHP developments. At least, that's my impression.
Re:Upcoming Hardening in PHP by naiv on Friday November 15, 2024 @03:54AM (#42145074)
Symfony also does a great job adding polyfills way ahead of a PHP release , eg https://github.com/symfony/polyfill-php84
Re:Upcoming Hardening in PHP by withinboredom on Friday November 15, 2024 @06:55AM (#42146102)
Yes, and this is incredibly annoying. Many packages add them as a dependency, and then you get subtle bugs because of it. Or worse, they add a dependency for the polyfill that is related to an extension and suffer performance issues when the extensions are not installed; yet no warning is output.
Re:Upcoming Hardening in PHP by chx on Friday November 15, 2024 @10:15AM (#42147632)
Drupal is very hot on attributes, has fiber support, uses readonly (a PHP 8.2 feature) extensively, enums are used -- overall it's fairly up to date.