what is the diffrence between for and foreach?
Answer Posted / ks.tarun
FOR loop will continue until some condition fails, but in
case of foreach loop will work until all item are processed.
Is This Answer Correct ? | 18 Yes | 5 No |
Post New Answer View All Answers
What is "echo" in php?
Is php 5 still supported?
How to upload file in php?
What is final class and final method?
How do you parse and process html/xml in php?
How many types of array supported in php?
Which php mvc framework is best?
Explain what does the unset() function means?
What is the difference between single-quoted and double-quoted strings in php?
Is php secure?
How are variables declared in php?
How to replace a substring in a given string?
How to make a class in php?
What is whitespace in html?
Where are sessions stored php?