Advertisements
Advertisements
प्रश्न
Explain the use of for each loop in PHP.
टीपा लिहा
उत्तर
- The foreach loop works only on arrays,
- It is used to loop through each key/value pair in an array.
shaalaa.com
Looping Structure
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
APPEARS IN
संबंधित प्रश्न
The loop exclusively used for arrays is _____.
Loops that iterate for fixed number of times is called ______.
Define Looping Structure in PHP.
Define for loop in PHP.
Compare for loop and for each loop.
Differentiate For each and While loop.
Write short notes on Do while Loop.
Explain Looping Structure in PHP.
Explain the process Do while loop.
Explain concepts of for loop with example.