1.

Define for loop in PHP?

Answer»

For Loop:

For loop is an important functional looping system which is used for iteration logics when the programmer know in advance how many times the loop should run.

Syntax:

for (int counter; test counter; increment counter)

{

code to be executed;

}



Discussion

No Comment Found

Related InterviewSolutions