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
Why does php start with variables?
What does sign mean php?
How to read a file in php?
What are php functions?
What is php used for?
How can we get ip address of a client in php?
How can we encrypt the password using php?
Explain the importance of the function htmlentities.
How do you use end in python?
Is laravel easy to learn?
What the limitation of header() function in php?
How long is a php session valid?
Why shouldn't I use mysql_* functions in php?
What is polymorphism?
What are the benefits of using queries?