Summary
Keywords
Full Transcript
Let's talk about PHP 8.1, what are some of the new features, backward-incompatible changes & deprecations. 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: https://www.patreon.com/programwithgio THANK YOU! 🛠️ TOOLS & SERVICES I USE Digital Ocean Hosting - Get 100$ credit - https://m.do.co/c/38b935ad74e5 Domains on Namecheap - https://namecheap.pxf.io/rnRjdQ Envato Elements - https://1.envato.market/c/2937311/298927/4662 Adobe Photoshop & Premiere - https://clk.tradedoubler.com/click?p=264355&a=3250276 COURSE PLAYLIST https://www.youtube.com/playlist?list=PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe- RELATED LESSONS FROM THIS SERIES Array Unpacking - https://www.youtube.com/watch?v=I9XkWyets9w PDO Emulated Prepares - https://youtu.be/wcD5HlEHrnc RESOURCES Migration Guide From 8.0 To 8.1 - https://www.php.net/manual/en/migration81.php Array Unpacking With String Keys RFC - https://wiki.php.net/rfc/array_unpacking_string_keys Enums RFC - https://wiki.php.net/rfc/enumerations Readonly Properties RFC - https://wiki.php.net/rfc/readonly_properties_v2 Never Return Type RFC - https://wiki.php.net/rfc/noreturn_type First Class Callable Syntax RFC - https://wiki.php.net/rfc/first_class_callable_syntax Array Is List RFC (array_is_list) - https://wiki.php.net/rfc/is_list Pure Intersection Types RFC - https://wiki.php.net/rfc/pure-intersection-types New In Initializers RFC - https://wiki.php.net/rfc/new_in_initializers Final Class Constants RFC - https://wiki.php.net/rfc/final_class_const Fibers RFC - https://wiki.php.net/rfc/fibers What's New In PHP 8.1 - Stitcher.io - https://stitcher.io/blog/new-in-php-81 Online PHP Shell - https://3v4l.org/ TABLE OF CONTENTS 00:00 - Intro 01:46 - Array unpacking with string keys 04:02 - Enums 10:51 - Read-only properties 13:35 - Pure intersection types 15:12 - Never return type 17:05 - array_is_list 19:05 - First class callable syntax 20:11 - New keyword in initializers 23:16 - Final class constants 24:15 - Other features & fibers 25:07 - Backward incompatible changes 27:30 - Deprecations 28:59 - Conclusion
