Рет қаралды 26,493
Attributes feature that was introduced in PHP 8.0 may sound complicated but it's pretty simple when you put it into practice. In this video, we explore the attributes feature & refactor our simple router to use attributes.
SOME OF THE WAYS YOU CAN SUPPORT THE CHANNEL
👍 Smash the like button
🤝 Subscribe to the channel & turn the notifications on
💬 Post comments, any feedback is greatly appreciated
⭐ Become a Patreon: / programwithgio
THANK YOU!
🛠️ TOOLS & SERVICES I USE
Digital Ocean Hosting - Get 100$ credit - m.do.co/c/38b935ad74e5
Domains on Namecheap - namecheap.pxf.io/rnRjdQ
Envato Elements - 1.envato.market/c/2937311/298...
Adobe Photoshop & Premiere - clk.tradedoubler.com/click?p=...
COURSE PLAYLIST
• Learn PHP The Right Wa...
RESOURCES
Source repo - github.com/ggelashvili/learnp...
Docs - www.php.net/manual/en/languag...
RFC that added attributes support - wiki.php.net/rfc/attributes_v2
Bitwise operators lesson - • PHP Operators Part 2 -...
Reflection API - • Dependency Injection C...
** Affiliate Disclaimer: Some of the above links may be affiliate links, which may generate me a sales commission at no additional cost to you.