मराठी

Explain the use of for each loop in PHP.

Advertisements

प्रश्न

Explain the use of for each loop in PHP.

टीपा लिहा
Advertisements

उत्तर

  1. The foreach loop works only on arrays,
  2. It is used to loop through each key/value pair in an array.
shaalaa.com
Looping Structure
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 7: Looping Structure - Evaluation - PART – II [पृष्ठ ११८]
Advertisements
Share
Notifications



      Forgot password?
Use app×