English

Revision: Looping Structure Computer Applications HSC Science Class 12 Tamil Nadu Board of Secondary Education

Topics

Advertisements
Advertisements

Definitions [2]

Define Looping Structure in PHP.

  1. Looping Structures are useful for writing iteration logics.
  2. It is the most important feature of many programming languages, including PHP.
  3. They are implemented using the following categories,
    • for Loop
    • While Loop
    • foreach Loop
    • Do While Loop

Define for loop in PHP.

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 (init counter; test counter; increment counter)
{
code to be executed;
}

Concepts [1]

  • Looping Structure
Share
Notifications



      Forgot password?
Use app×