Uploaded November 2021 | Updated November 2026, 3 hours ago
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: patreon.com/programwithgio
THANK YOU!
π οΈ TOOLS & SERVICES I USE
Digital Ocean Hosting - Get 100$ credit - https://m.do.co/c/38b935ad74e5
Domains on Namecheap - namecheap.pxf.io/rnRjdQ
Envato Elements - https://1.envato.market/c/2937311/298927/4662
Adobe Photoshop & Premiere - clk.tradedoubler.com/click?p=264355&a=3250276
COURSE PLAYLIST
youtube.com/playlist?list=PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe-
RELATED LESSONS FROM THIS SERIES
Array Unpacking - youtube.com/watch?v=I9XkWyets9w
PDO Emulated Prepares - youtu.be/wcD5HlEHrnc
RESOURCES
Migration Guide From 8.0 To 8.1 - php.net/manual/en/migration81.php
Array Unpacking With String Keys RFC - wiki.php.net/rfc/array_unpacking_string_keys
Enums RFC - wiki.php.net/rfc/enumerations
Readonly Properties RFC - wiki.php.net/rfc/readonly_properties_v2
Never Return Type RFC - wiki.php.net/rfc/noreturn_type
First Class Callable Syntax RFC - wiki.php.net/rfc/first_class_callable_syntax
Array Is List RFC (array_is_list) - wiki.php.net/rfc/is_list
Pure Intersection Types RFC - wiki.php.net/rfc/pure-intersection-types
New In Initializers RFC - wiki.php.net/rfc/new_in_initializers
Final Class Constants RFC - wiki.php.net/rfc/final_class_const
Fibers RFC - wiki.php.net/rfc/fibers
What's New In PHP 8.1 - Stitcher.io - stitcher.io/blog/new-in-php-81
Online PHP Shell - 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
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: patreon.com/programwithgio
THANK YOU!
π οΈ TOOLS & SERVICES I USE
Digital Ocean Hosting - Get 100$ credit - https://m.do.co/c/38b935ad74e5
Domains on Namecheap - namecheap.pxf.io/rnRjdQ
Envato Elements - https://1.envato.market/c/2937311/298927/4662
Adobe Photoshop & Premiere - clk.tradedoubler.com/click?p=264355&a=3250276
COURSE PLAYLIST
youtube.com/playlist?list=PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe-
RELATED LESSONS FROM THIS SERIES
Array Unpacking - youtube.com/watch?v=I9XkWyets9w
PDO Emulated Prepares - youtu.be/wcD5HlEHrnc
RESOURCES
Migration Guide From 8.0 To 8.1 - php.net/manual/en/migration81.php
Array Unpacking With String Keys RFC - wiki.php.net/rfc/array_unpacking_string_keys
Enums RFC - wiki.php.net/rfc/enumerations
Readonly Properties RFC - wiki.php.net/rfc/readonly_properties_v2
Never Return Type RFC - wiki.php.net/rfc/noreturn_type
First Class Callable Syntax RFC - wiki.php.net/rfc/first_class_callable_syntax
Array Is List RFC (array_is_list) - wiki.php.net/rfc/is_list
Pure Intersection Types RFC - wiki.php.net/rfc/pure-intersection-types
New In Initializers RFC - wiki.php.net/rfc/new_in_initializers
Final Class Constants RFC - wiki.php.net/rfc/final_class_const
Fibers RFC - wiki.php.net/rfc/fibers
What's New In PHP 8.1 - Stitcher.io - stitcher.io/blog/new-in-php-81
Online PHP Shell - 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










