PHP Dev
damienseguy's profile
Damien seguy@damienseguy•Sep 23, 2025
19.8K
Exakat's profile
Post cover image

Dave Liddament

From daveliddament.co.uk•Sep 23, 2025•5m read time

Introduces a PHP Language Extensions Library that uses static analysis tools and PHP attributes to implement new language features without waiting for the RFC process. Demonstrates how to create a 'friend' visibility modifier using custom PHPStan rules and attributes, allowing methods to be called only by specific classes. This approach enables rapid prototyping of language features that can be battle-tested before potentially being added to PHP core.

Sort:

damienseguy's user avatar
Damien seguy
@damienseguy
Joined Oct 25. 2023
19.8K
Exakat's profile

Exakat

Verified

PHP developer passionate about deep language knowledge, testing, static analysis, and sustainable it

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard