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 are the rules to determine the “truth” of any value which is not already of the boolean type?
Explain me what is the use of header() function in php?
What is the difference between include and require?
What software is required to run php?
How do I escape data before storing it in the database?
How is a constant defined in a PHP script?
Can php run without server?
Explain what does the unset() function means?
Explain how to run the interactive php shell from the command line interface?
Tell me what is the use of isset() in php?
Is php the same as html?
Is php strongly typed?
What is use of mysqli_query in php?
How can we check the value of a given variable is a number?
Explain scalar type declarations in php7?