Computer Science, asked by hjjjkook35231, 1 year ago

Which of the looping statements is/are supported by php? 1. For loop 2. While loop 3. Do-while loop 4. Foreach loop 1 and 2 1, 2 and 3 all of the mentioned none of the mentioned

Answers

Answered by rishabhsingh0156
0

HEY MATE!!

The Following loop followed by PHP:

for − loops through a block of code a specified number of times.

while − loops through a block of code if and as long as a specified condition is true.

do...while − loops through a block of code once, and then repeats the loop as long as a special condition is true.

foreach − loops through a block of code for each element in an array.

Similar questions