what is the diffrence between for and foreach?
Answer Posted / ajay jain
for() is a simply a loop which is execute to the given
condition but foreach given as array parameter return as
content of array
| Is This Answer Correct ? | 22 Yes | 5 No |
Post New Answer View All Answers
How to avoid the undefined index error?
When viewing an html page in a browser, the browser often keeps this page in its cache. What can be possible advantages/disadvantages of page caching? How can you prevent caching of a certain page (please give several alternate solutions)?
Does csrf token change?
Which function(s) in PHP computes the difference of arrays?
Explain me soundex() and metaphone()?
What PHP stands for?
What are the 3 types of sessions?
What is a query in php?
What are the differences between require and include?
What is php resource type?
Explain what does $_server means?
What do you use php for?
What is cookies? How to create cookies in php?
What is repository in php?
What is the method to register a variable into a session?