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 repository in php?
How to get the IP address of the client/user in PHP?
What are the different filter functions used to filter a variable?
What the use of var_dump()?
What is the use of post in php?
What is use of htmlspecialchars php?
What is list function with their uses.
What library is used for pdf in php?
Why should I store logs in a database rather than a file?
Is php easier than javascript?
What is printf in php?
Explain how can we execute a php script using command line?
What are magic methods?
Which is a perfect example of runtime polymorphism?
Does php support multithreading?