हिंदी

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 [पृष्ठ ११८]

APPEARS IN

सामाचीर कलवी Computer Applications [English] Class 12 TN Board
अध्याय 7 Looping Structure
Evaluation - PART – II | Q 10. | पृष्ठ ११८
Advertisements
Share
Notifications



      Forgot password?
Use app×