Home » LinkedIn PHP » PHP supports multiple types of loops. If you wanted to loop through a block of code if and as long a specified condition is true, which type of loop would you use? PHP supports multiple types of loops. If you wanted to loop through a block of code if and as long a specified condition is true, which type of loop would you use? Advertisement 5shares Facebook LinkedIn Pinterest Twitter Email for do-while while foreach Join our listSubscribe to our mailing list and get interesting stuff and updates to your email inbox. Thank you for subscribing.Something went wrong.We respect your privacy and take protecting it seriously