PHP Match Expression – Match vs Switch – Full PHP 8 Tutorial
51.3K views on YouTube
In this PHP tutorial, you will learn about the newly added feature the match expression which was introduced in PHP 8. Match expression makes a block for switch statements much shorter & easier to read. You’ll learn about the main differences between the match expression & switch statements with a real example. Do you like the match expression? Let me know your thoughts in the comments.
SOME OF THE WAYS YOU CAN SUPPORT THE CHANNEL
👍 Smash the like button
🤝 Subscribe to the channel & turn the notifications on
💬 Post comments on videos, any feedback is greatly appreciated
⭐ Become a Patreon: https://www.patreon.com/programwithgio
THANK YOU!
LESSON 1.18
Course Outline – https://github.com/ggelashvili/learnphptherightway-outline
Course Playlist – https://www.youtube.com/playlist?list=PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe-
RESOURCES
Check https://www.php.net/manual/en/control-structures.match.php for more info about match expression.