Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

8 | Conditions & Control Structures in PHP | 2023 | Learn PHP Full Course for Beginners

64.2K views on YouTube

In this PHP tutorial I will show you how to branch your code using control structures. 🙂 Control structures include conditions such as if, else if, and else statements, as well as the switch statement. We also have the new match statement, which was included in PHP 8, which I will cover in this video.

Documentation: https://www.php.net/manual/en/language.control-structures.php

➤ GET ACCESS TO MY LESSON MATERIAL HERE!

First of all, thank you for all the support you have given me!

I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you!

I am now using Patreon and YouTube Memberships to share improved and updated lesson material, and for a small fee you can access all the material either from my memberships or Patreon, depending on your preference. I have worked hard, and done my best to help you understand what I teach.

I hope you will find it helpful 🙂

Memberships: https://www.youtube.com/channel/UCzyuZJ8zZ-Lhfnz41DG5qLw/join
Patreon: https://www.patreon.com/mmtuts