Uploaded January 2021 | Updated November 2026, 3 hours ago
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: patreon.com/programwithgio
THANK YOU!
LESSON 1.18
Course Outline - github.com/ggelashvili/learnphptherightway-outline
Course Playlist - youtube.com/playlist?list=PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe-
RESOURCES
Check php.net/manual/en/control-structures.match.php for more info about match expression.
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: patreon.com/programwithgio
THANK YOU!
LESSON 1.18
Course Outline - github.com/ggelashvili/learnphptherightway-outline
Course Playlist - youtube.com/playlist?list=PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe-
RESOURCES
Check php.net/manual/en/control-structures.match.php for more info about match expression.










